Maybe it's something about my setup 😅 I have Nix 2.4, flakes on. x86_64-darwin
nix build .#scalacheck-web --show-trace
error: cannot coerce null to a string
at /nix/store/gd0iy3kc4s3055lscqhmlaqnr1cnw19x-source/scalacheck.nix:95:18:
94|
95| buildPhase = ''
| ^
96| type -P scaladoc
Full stack trace:
Details
```
nix build .#scalacheck-web --show-trace
error: cannot coerce null to a string
at /nix/store/gd0iy3kc4s3055lscqhmlaqnr1cnw19x-source/scalacheck.nix:95:18:
94|
95| buildPhase = ''
| ^
96| type -P scaladoc
… while evaluating the attribute 'buildPhase' of the derivation 'scalacheck-doc_2.11-1.10.0'
at /nix/store/yqwv8kn2i2fhs7iwwjaq8zcl5blgyzyn-source/pkgs/stdenv/generic/make-derivation.nix:201:11:
200| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
201| name =
| ^
202| let
… while evaluating anonymous lambda
at /nix/store/gd0iy3kc4s3055lscqhmlaqnr1cnw19x-source/scalacheck-web.nix:39:29:
38|
39| ${concatMapStrings (o: ''
| ^
40| ln -sft src/files ${o}/*
… from call site
… while evaluating 'concatMapStrings'
at /nix/store/yqwv8kn2i2fhs7iwwjaq8zcl5blgyzyn-source/lib/strings.nix:53:25:
52| */
53| concatMapStrings = f: list: concatStrings (map f list);
| ^
54|
… from call site
at /nix/store/gd0iy3kc4s3055lscqhmlaqnr1cnw19x-source/scalacheck-web.nix:39:11:
38|
39| ${concatMapStrings (o: ''
| ^
40| ln -sft src/files ${o}/*
… while evaluating the attribute 'text' of the derivation 'sc-hakyll-wrapper'
at /nix/store/yqwv8kn2i2fhs7iwwjaq8zcl5blgyzyn-source/pkgs/stdenv/generic/make-derivation.nix:201:11:
200| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
201| name =
| ^
202| let
… while evaluating the attribute 'wrapper' of the derivation 'sc-hakyll-wrapper-builder'
at /nix/store/yqwv8kn2i2fhs7iwwjaq8zcl5blgyzyn-source/pkgs/stdenv/generic/make-derivation.nix:201:11:
200| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
201| name =
| ^
202| let
… while evaluating the attribute 'buildInputs' of the derivation 'scalacheck-web'
at /nix/store/yqwv8kn2i2fhs7iwwjaq8zcl5blgyzyn-source/pkgs/stdenv/generic/make-derivation.nix:201:11:
200| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
201| name =
| ^
202| let
```
Maybe it's something about my setup 😅 I have Nix 2.4, flakes on.
x86_64-darwin
Full stack trace:
Details
``` nix build .#scalacheck-web --show-trace error: cannot coerce null to a string at /nix/store/gd0iy3kc4s3055lscqhmlaqnr1cnw19x-source/scalacheck.nix:95:18: 94| 95| buildPhase = '' | ^ 96| type -P scaladoc … while evaluating the attribute 'buildPhase' of the derivation 'scalacheck-doc_2.11-1.10.0' at /nix/store/yqwv8kn2i2fhs7iwwjaq8zcl5blgyzyn-source/pkgs/stdenv/generic/make-derivation.nix:201:11: 200| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { 201| name = | ^ 202| let … while evaluating anonymous lambda at /nix/store/gd0iy3kc4s3055lscqhmlaqnr1cnw19x-source/scalacheck-web.nix:39:29: 38| 39| ${concatMapStrings (o: '' | ^ 40| ln -sft src/files ${o}/* … from call site … while evaluating 'concatMapStrings' at /nix/store/yqwv8kn2i2fhs7iwwjaq8zcl5blgyzyn-source/lib/strings.nix:53:25: 52| */ 53| concatMapStrings = f: list: concatStrings (map f list); | ^ 54| … from call site at /nix/store/gd0iy3kc4s3055lscqhmlaqnr1cnw19x-source/scalacheck-web.nix:39:11: 38| 39| ${concatMapStrings (o: '' | ^ 40| ln -sft src/files ${o}/* … while evaluating the attribute 'text' of the derivation 'sc-hakyll-wrapper' at /nix/store/yqwv8kn2i2fhs7iwwjaq8zcl5blgyzyn-source/pkgs/stdenv/generic/make-derivation.nix:201:11: 200| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { 201| name = | ^ 202| let … while evaluating the attribute 'wrapper' of the derivation 'sc-hakyll-wrapper-builder' at /nix/store/yqwv8kn2i2fhs7iwwjaq8zcl5blgyzyn-source/pkgs/stdenv/generic/make-derivation.nix:201:11: 200| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { 201| name = | ^ 202| let … while evaluating the attribute 'buildInputs' of the derivation 'scalacheck-web' at /nix/store/yqwv8kn2i2fhs7iwwjaq8zcl5blgyzyn-source/pkgs/stdenv/generic/make-derivation.nix:201:11: 200| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) { 201| name = | ^ 202| let ```