Skip to content

Instantly share code, notes, and snippets.

@ishamf

ishamf/trace.log Secret

Created July 17, 2024 17:17
Show Gist options
  • Save ishamf/bd96b7a76cedb1a60bed0bcbe6ece449 to your computer and use it in GitHub Desktop.
Save ishamf/bd96b7a76cedb1a60bed0bcbe6ece449 to your computer and use it in GitHub Desktop.
Full nix error trace
▶ nix-build --show-trace
error:
… from call site
at /****/miso/sample-app/default.nix:4:1:
3| }) {});
4| pkgs.haskell.packages.ghcjs.callCabal2nix "app" ./. {}
| ^
5|
… while calling 'callCabal2nix'
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/make-package-set.nix:213:32:
212|
213| callCabal2nix = name: src: args: self.callCabal2nixWithOptions name src "" args;
| ^
214|
… from call site
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/make-package-set.nix:213:38:
212|
213| callCabal2nix = name: src: args: self.callCabal2nixWithOptions name src "" args;
| ^
214|
… while calling 'callCabal2nixWithOptions'
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/make-package-set.nix:198:66:
197| # Creates a Haskell package from a source package by calling cabal2nix on the source.
198| callCabal2nixWithOptions = name: src: extraCabal2nixOptions: args:
| ^
199| let
… from call site
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/make-package-set.nix:209:10:
208| };
209| in overrideCabal (callPackageKeepDeriver expr args) (orig: {
| ^
210| inherit src;
… while calling 'overrideCabal'
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/lib.nix:37:24:
36| */
37| overrideCabal = drv: f: (drv.override (args: args // {
| ^
38| mkDerivation = drv: (args.mkDerivation drv).override f;
… in the left operand of the update (//) operator
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/lib.nix:39:7:
38| mkDerivation = drv: (args.mkDerivation drv).override f;
39| })) // {
| ^
40| overrideScope = scope: overrideCabal (drv.overrideScope scope) f;
… from call site
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/make-package-set.nix:209:25:
208| };
209| in overrideCabal (callPackageKeepDeriver expr args) (orig: {
| ^
210| inherit src;
… while calling 'callPackageKeepDeriver'
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/make-package-set.nix:157:33:
156| # annoyance.
157| callPackageKeepDeriver = src: args:
| ^
158| overrideCabal (self.callPackage src args) (orig: {
… from call site
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/make-package-set.nix:158:5:
157| callPackageKeepDeriver = src: args:
158| overrideCabal (self.callPackage src args) (orig: {
| ^
159| preConfigure = ''
… while calling 'overrideCabal'
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/lib.nix:37:24:
36| */
37| overrideCabal = drv: f: (drv.override (args: args // {
| ^
38| mkDerivation = drv: (args.mkDerivation drv).override f;
… in the left operand of the update (//) operator
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/lib.nix:39:7:
38| mkDerivation = drv: (args.mkDerivation drv).override f;
39| })) // {
| ^
40| overrideScope = scope: overrideCabal (drv.overrideScope scope) f;
… from call site
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/make-package-set.nix:158:20:
157| callPackageKeepDeriver = src: args:
158| overrideCabal (self.callPackage src args) (orig: {
| ^
159| preConfigure = ''
… while calling 'callPackage'
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/make-package-set.nix:114:22:
113| defaultScope = mkScope self;
114| callPackage = drv: args: callPackageWithScope defaultScope drv args;
| ^
115|
… from call site
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/make-package-set.nix:114:28:
113| defaultScope = mkScope self;
114| callPackage = drv: args: callPackageWithScope defaultScope drv args;
| ^
115|
… while calling 'callPackageWithScope'
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/make-package-set.nix:74:37:
73| # here `bar` is a manual argument.
74| callPackageWithScope = scope: fn: manualArgs:
| ^
75| let
… from call site
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/make-package-set.nix:97:8:
96| };
97| in stdenv.lib.makeOverridable drvScope (auto // manualArgs);
| ^
98|
… while calling 'makeOverridable'
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/lib/customisation.nix:67:24:
66| */
67| makeOverridable = f: origArgs:
| ^
68| let
… while evaluating a branch condition
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/lib/customisation.nix:72:7:
71| in
72| if builtins.isAttrs ff then (ff // {
| ^
73| override = newArgs: makeOverridable f (overrideWith newArgs);
… while calling the 'isAttrs' builtin
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/lib/customisation.nix:72:10:
71| in
72| if builtins.isAttrs ff then (ff // {
| ^
73| override = newArgs: makeOverridable f (overrideWith newArgs);
… from call site
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/lib/customisation.nix:69:12:
68| let
69| ff = f origArgs;
| ^
70| overrideWith = newArgs: origArgs // (if lib.isFunction newArgs then newArgs origArgs else newArgs);
… while calling 'drvScope'
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/make-package-set.nix:87:18:
86| # this wraps the `drv` function to add a `overrideScope` function to the result.
87| drvScope = allArgs: drv allArgs // {
| ^
88| overrideScope = f:
… in the left operand of the update (//) operator
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/make-package-set.nix:87:39:
86| # this wraps the `drv` function to add a `overrideScope` function to the result.
87| drvScope = allArgs: drv allArgs // {
| ^
88| overrideScope = f:
… while calling the 'import' builtin
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/make-package-set.nix:83:54:
82| # info that callPackage uses to determine the arguments).
83| drv = if stdenv.lib.isFunction fn then fn else import fn;
| ^
84| auto = builtins.intersectAttrs (stdenv.lib.functionArgs drv) scope;
… while calling the 'getAttr' builtin
at <nix/derivation-internal.nix>:19:19:
18| value = commonAttrs // {
19| outPath = builtins.getAttr outputName strict;
| ^
20| drvPath = strict.drvPath;
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:9:12:
8|
9| strict = derivationStrict drvAttrs;
| ^
10|
… while evaluating derivation 'cabal2nix-app'
whose name attribute is located at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/make-package-set.nix:126:7
… while evaluating attribute 'nativeBuildInputs' of derivation 'cabal2nix-app'
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/stdenv/generic/make-derivation.nix:218:11:
217| depsBuildBuild = lib.elemAt (lib.elemAt dependencies 0) 0;
218| nativeBuildInputs = lib.elemAt (lib.elemAt dependencies 0) 1;
| ^
219| depsBuildTarget = lib.elemAt (lib.elemAt dependencies 0) 2;
… while calling 'getOutput'
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/lib/attrsets.nix:464:23:
463| */
464| getOutput = output: pkg:
| ^
465| if pkg.outputUnspecified or false
… while evaluating a branch condition
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/lib/attrsets.nix:465:5:
464| getOutput = output: pkg:
465| if pkg.outputUnspecified or false
| ^
466| then pkg.${output} or pkg.out or pkg
… from call site
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/lib/attrsets.nix:465:8:
464| getOutput = output: pkg:
465| if pkg.outputUnspecified or false
| ^
466| then pkg.${output} or pkg.out or pkg
… while calling anonymous lambda
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/stdenv/generic/make-derivation.nix:134:17:
133| (map (drv: drv.__spliced.buildBuild or drv) depsBuildBuild)
134| (map (drv: drv.nativeDrv or drv) nativeBuildInputs
| ^
135| ++ lib.optional separateDebugInfo' ../../build-support/setup-hooks/separate-debug-info.sh
… while evaluating the attribute 'buildPackages.cabal2nix'
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/top-level/all-packages.nix:1171:3:
1170|
1171| cabal2nix = haskell.lib.overrideCabal (haskell.lib.generateOptparseApplicativeCompletion "cabal2nix" haskellPackages.cabal2nix) (drv: {
| ^
1172| isLibrary = false;
… from call site
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/top-level/all-packages.nix:1171:15:
1170|
1171| cabal2nix = haskell.lib.overrideCabal (haskell.lib.generateOptparseApplicativeCompletion "cabal2nix" haskellPackages.cabal2nix) (drv: {
| ^
1172| isLibrary = false;
… while calling 'overrideCabal'
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/lib.nix:37:24:
36| */
37| overrideCabal = drv: f: (drv.override (args: args // {
| ^
38| mkDerivation = drv: (args.mkDerivation drv).override f;
… in the left operand of the update (//) operator
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/lib.nix:39:7:
38| mkDerivation = drv: (args.mkDerivation drv).override f;
39| })) // {
| ^
40| overrideScope = scope: overrideCabal (drv.overrideScope scope) f;
… from call site
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/lib.nix:37:28:
36| */
37| overrideCabal = drv: f: (drv.override (args: args // {
| ^
38| mkDerivation = drv: (args.mkDerivation drv).override f;
… while calling 'override'
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/lib/customisation.nix:73:20:
72| if builtins.isAttrs ff then (ff // {
73| override = newArgs: makeOverridable f (overrideWith newArgs);
| ^
74| overrideDerivation = fdrv:
… from call site
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/lib/customisation.nix:73:29:
72| if builtins.isAttrs ff then (ff // {
73| override = newArgs: makeOverridable f (overrideWith newArgs);
| ^
74| overrideDerivation = fdrv:
(6 duplicate frames omitted)
… from call site
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/make-package-set.nix:87:27:
86| # this wraps the `drv` function to add a `overrideScope` function to the result.
87| drvScope = allArgs: drv allArgs // {
| ^
88| overrideScope = f:
… while calling anonymous lambda
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/hackage-packages.nix:45159:6:
45158| "cabal2nix" = callPackage
45159| ({ mkDerivation, aeson, ansi-wl-pprint, base, bytestring, Cabal
| ^
45160| , containers, deepseq, directory, distribution-nixpkgs, filepath
… from call site
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/hackage-packages.nix:45165:6:
45164| }:
45165| mkDerivation {
| ^
45166| pname = "cabal2nix";
… while calling 'mkDerivation'
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/lib.nix:38:20:
37| overrideCabal = drv: f: (drv.override (args: args // {
38| mkDerivation = drv: (args.mkDerivation drv).override f;
| ^
39| })) // {
… from call site
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/lib.nix:38:25:
37| overrideCabal = drv: f: (drv.override (args: args // {
38| mkDerivation = drv: (args.mkDerivation drv).override f;
| ^
39| })) // {
… while calling 'override'
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/lib/customisation.nix:73:20:
72| if builtins.isAttrs ff then (ff // {
73| override = newArgs: makeOverridable f (overrideWith newArgs);
| ^
74| overrideDerivation = fdrv:
… from call site
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/lib/customisation.nix:73:29:
72| if builtins.isAttrs ff then (ff // {
73| override = newArgs: makeOverridable f (overrideWith newArgs);
| ^
74| overrideDerivation = fdrv:
… while calling 'makeOverridable'
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/lib/customisation.nix:67:24:
66| */
67| makeOverridable = f: origArgs:
| ^
68| let
… while evaluating a branch condition
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/lib/customisation.nix:72:7:
71| in
72| if builtins.isAttrs ff then (ff // {
| ^
73| override = newArgs: makeOverridable f (overrideWith newArgs);
… while calling the 'isAttrs' builtin
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/lib/customisation.nix:72:10:
71| in
72| if builtins.isAttrs ff then (ff // {
| ^
73| override = newArgs: makeOverridable f (overrideWith newArgs);
… while calling a functor (an attribute set with a '__functor' attribute)
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/lib/customisation.nix:69:12:
68| let
69| ff = f origArgs;
| ^
70| overrideWith = newArgs: origArgs // (if lib.isFunction newArgs then newArgs origArgs else newArgs);
… from call site
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/lib/customisation.nix:81:9:
80| override = newArgs: makeOverridable f (overrideWith newArgs);
81| __functor = self: ff;
| ^
82| overrideDerivation = throw "overrideDerivation not yet supported for functors";
… while calling anonymous lambda
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/generic-builder.nix:12:1:
11|
12| { pname
| ^
13| , dontStrip ? (ghc.isGhcjs or false)
… from call site
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/generic-builder.nix:240:4:
239| '';
240| in stdenv.lib.fix (drv:
| ^
241|
… while calling 'fix'
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/lib/fixed-points.nix:19:9:
18| # details.
19| fix = f: let x = f x; in x;
| ^
20|
… from call site
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/lib/fixed-points.nix:19:20:
18| # details.
19| fix = f: let x = f x; in x;
| ^
20|
… while calling anonymous lambda
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/generic-builder.nix:240:20:
239| '';
240| in stdenv.lib.fix (drv:
| ^
241|
… from call site
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/generic-builder.nix:244:1:
243|
244| stdenv.mkDerivation ({
| ^
245| name = "${pname}-${version}";
… in the right operand of the update (//) operator
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/generic-builder.nix:495:1:
494| }
495| // optionalAttrs (preCompileBuildDriver != "") { inherit preCompileBuildDriver; }
| ^
496| // optionalAttrs (postCompileBuildDriver != "") { inherit postCompileBuildDriver; }
… in the right operand of the update (//) operator
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/generic-builder.nix:496:1:
495| // optionalAttrs (preCompileBuildDriver != "") { inherit preCompileBuildDriver; }
496| // optionalAttrs (postCompileBuildDriver != "") { inherit postCompileBuildDriver; }
| ^
497| // optionalAttrs (preUnpack != "") { inherit preUnpack; }
… in the right operand of the update (//) operator
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/generic-builder.nix:497:1:
496| // optionalAttrs (postCompileBuildDriver != "") { inherit postCompileBuildDriver; }
497| // optionalAttrs (preUnpack != "") { inherit preUnpack; }
| ^
498| // optionalAttrs (postUnpack != "") { inherit postUnpack; }
… in the right operand of the update (//) operator
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/generic-builder.nix:498:1:
497| // optionalAttrs (preUnpack != "") { inherit preUnpack; }
498| // optionalAttrs (postUnpack != "") { inherit postUnpack; }
| ^
499| // optionalAttrs (patches != []) { inherit patches; }
… in the right operand of the update (//) operator
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/generic-builder.nix:499:1:
498| // optionalAttrs (postUnpack != "") { inherit postUnpack; }
499| // optionalAttrs (patches != []) { inherit patches; }
| ^
500| // optionalAttrs (patchPhase != "") { inherit patchPhase; }
… in the right operand of the update (//) operator
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/generic-builder.nix:500:1:
499| // optionalAttrs (patches != []) { inherit patches; }
500| // optionalAttrs (patchPhase != "") { inherit patchPhase; }
| ^
501| // optionalAttrs (preConfigure != "") { inherit preConfigure; }
… in the right operand of the update (//) operator
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/generic-builder.nix:501:1:
500| // optionalAttrs (patchPhase != "") { inherit patchPhase; }
501| // optionalAttrs (preConfigure != "") { inherit preConfigure; }
| ^
502| // optionalAttrs (postConfigure != "") { inherit postConfigure; }
… in the right operand of the update (//) operator
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/generic-builder.nix:502:1:
501| // optionalAttrs (preConfigure != "") { inherit preConfigure; }
502| // optionalAttrs (postConfigure != "") { inherit postConfigure; }
| ^
503| // optionalAttrs (preBuild != "") { inherit preBuild; }
… in the right operand of the update (//) operator
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/generic-builder.nix:503:1:
502| // optionalAttrs (postConfigure != "") { inherit postConfigure; }
503| // optionalAttrs (preBuild != "") { inherit preBuild; }
| ^
504| // optionalAttrs (postBuild != "") { inherit postBuild; }
… in the right operand of the update (//) operator
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/generic-builder.nix:504:1:
503| // optionalAttrs (preBuild != "") { inherit preBuild; }
504| // optionalAttrs (postBuild != "") { inherit postBuild; }
| ^
505| // optionalAttrs (doBenchmark) { inherit doBenchmark; }
… in the right operand of the update (//) operator
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/generic-builder.nix:505:1:
504| // optionalAttrs (postBuild != "") { inherit postBuild; }
505| // optionalAttrs (doBenchmark) { inherit doBenchmark; }
| ^
506| // optionalAttrs (checkPhase != "") { inherit checkPhase; }
… in the right operand of the update (//) operator
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/generic-builder.nix:506:1:
505| // optionalAttrs (doBenchmark) { inherit doBenchmark; }
506| // optionalAttrs (checkPhase != "") { inherit checkPhase; }
| ^
507| // optionalAttrs (preCheck != "") { inherit preCheck; }
… in the right operand of the update (//) operator
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/generic-builder.nix:507:1:
506| // optionalAttrs (checkPhase != "") { inherit checkPhase; }
507| // optionalAttrs (preCheck != "") { inherit preCheck; }
| ^
508| // optionalAttrs (postCheck != "") { inherit postCheck; }
… in the right operand of the update (//) operator
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/generic-builder.nix:508:1:
507| // optionalAttrs (preCheck != "") { inherit preCheck; }
508| // optionalAttrs (postCheck != "") { inherit postCheck; }
| ^
509| // optionalAttrs (preInstall != "") { inherit preInstall; }
… in the right operand of the update (//) operator
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/generic-builder.nix:509:1:
508| // optionalAttrs (postCheck != "") { inherit postCheck; }
509| // optionalAttrs (preInstall != "") { inherit preInstall; }
| ^
510| // optionalAttrs (installPhase != "") { inherit installPhase; }
… in the right operand of the update (//) operator
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/generic-builder.nix:510:1:
509| // optionalAttrs (preInstall != "") { inherit preInstall; }
510| // optionalAttrs (installPhase != "") { inherit installPhase; }
| ^
511| // optionalAttrs (postInstall != "") { inherit postInstall; }
… in the right operand of the update (//) operator
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/generic-builder.nix:511:1:
510| // optionalAttrs (installPhase != "") { inherit installPhase; }
511| // optionalAttrs (postInstall != "") { inherit postInstall; }
| ^
512| // optionalAttrs (preFixup != "") { inherit preFixup; }
… in the left operand of the update (//) operator
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/generic-builder.nix:512:1:
511| // optionalAttrs (postInstall != "") { inherit postInstall; }
512| // optionalAttrs (preFixup != "") { inherit preFixup; }
| ^
513| // optionalAttrs (postFixup != "") { inherit postFixup; }
… from call site
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/haskell-modules/generic-builder.nix:511:4:
510| // optionalAttrs (installPhase != "") { inherit installPhase; }
511| // optionalAttrs (postInstall != "") { inherit postInstall; }
| ^
512| // optionalAttrs (preFixup != "") { inherit preFixup; }
… while calling 'optionalAttrs'
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/lib/attrsets.nix:331:25:
330| */
331| optionalAttrs = cond: as: if cond then as else {};
| ^
332|
… while evaluating a branch condition
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/lib/attrsets.nix:331:29:
330| */
331| optionalAttrs = cond: as: if cond then as else {};
| ^
332|
… while calling the 'getAttr' builtin
at <nix/derivation-internal.nix>:19:19:
18| value = commonAttrs // {
19| outPath = builtins.getAttr outputName strict;
| ^
20| drvPath = strict.drvPath;
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:9:12:
8|
9| strict = derivationStrict drvAttrs;
| ^
10|
… while evaluating derivation 'nix-2.2.2'
whose name attribute is located at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/tools/package-management/nix/default.nix:28:15
… while evaluating attribute 'buildInputs' of derivation 'nix-2.2.2'
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/stdenv/generic/make-derivation.nix:221:11:
220| depsHostHost = lib.elemAt (lib.elemAt dependencies 1) 0;
221| buildInputs = lib.elemAt (lib.elemAt dependencies 1) 1;
| ^
222| depsTargetTarget = lib.elemAt (lib.elemAt dependencies 2) 0;
… while calling the 'getAttr' builtin
at <nix/derivation-internal.nix>:19:19:
18| value = commonAttrs // {
19| outPath = builtins.getAttr outputName strict;
| ^
20| drvPath = strict.drvPath;
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:9:12:
8|
9| strict = derivationStrict drvAttrs;
| ^
10|
… while evaluating derivation 'curl-7.64.1'
whose name attribute is located at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/tools/networking/curl/default.nix:27:3
… while evaluating attribute 'configureFlags' of derivation 'curl-7.64.1'
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/stdenv/generic/make-derivation.nix:232:11:
231| # This parameter is sometimes a string, sometimes null, and sometimes a list, yuck
232| configureFlags = let inherit (lib) optional elem; in
| ^
233| (/**/ if lib.isString configureFlags then [configureFlags]
… while calling the 'getAttr' builtin
at <nix/derivation-internal.nix>:19:19:
18| value = commonAttrs // {
19| outPath = builtins.getAttr outputName strict;
| ^
20| drvPath = strict.drvPath;
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:9:12:
8|
9| strict = derivationStrict drvAttrs;
| ^
10|
… while evaluating derivation 'openssl-1.0.2r'
whose name attribute is located at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/libraries/openssl/default.nix:11:5
… while evaluating attribute 'nativeBuildInputs' of derivation 'openssl-1.0.2r'
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/stdenv/generic/make-derivation.nix:218:11:
217| depsBuildBuild = lib.elemAt (lib.elemAt dependencies 0) 0;
218| nativeBuildInputs = lib.elemAt (lib.elemAt dependencies 0) 1;
| ^
219| depsBuildTarget = lib.elemAt (lib.elemAt dependencies 0) 2;
… while calling the 'getAttr' builtin
at <nix/derivation-internal.nix>:19:19:
18| value = commonAttrs // {
19| outPath = builtins.getAttr outputName strict;
| ^
20| drvPath = strict.drvPath;
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:9:12:
8|
9| strict = derivationStrict drvAttrs;
| ^
10|
… while evaluating derivation 'perl-5.28.2'
whose name attribute is located at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/interpreters/perl/default.nix:29:5
… while evaluating attribute 'disallowedReferences' of derivation 'perl-5.28.2'
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/development/interpreters/perl/default.nix:41:5:
40|
41| disallowedReferences = [ stdenv.cc ];
| ^
42|
… while calling the 'getAttr' builtin
at <nix/derivation-internal.nix>:19:19:
18| value = commonAttrs // {
19| outPath = builtins.getAttr outputName strict;
| ^
20| drvPath = strict.drvPath;
… while calling the 'derivationStrict' builtin
at <nix/derivation-internal.nix>:9:12:
8|
9| strict = derivationStrict drvAttrs;
| ^
10|
… while evaluating derivation 'cc-native'
whose name attribute is located at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/build-support/cc-wrapper/default.nix:96:3
… while evaluating attribute 'installPhase' of derivation 'cc-native'
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/build-support/cc-wrapper/default.nix:135:3:
134|
135| installPhase =
| ^
136| ''
… while evaluating a path segment
at /nix/store/9r1vhvri4ba913g4vyg5jqrhg6pb9amn-source/pkgs/build-support/cc-wrapper/default.nix:151:12:
150| + (if nativeTools then ''
151| echo ${if targetPlatform.isDarwin then cc else nativePrefix} > $out/nix-support/orig-cc
| ^
152|
error: cannot coerce null to a string: null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment