Created
May 26, 2025 05:15
-
-
Save shackra/5d9301dac35f8625e9609ed118018100 to your computer and use it in GitHub Desktop.
weird bug with NixOS rebuild and nix flake check
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ LC_ALL=C sudo nixos-rebuild build --flake .# --show-trace | |
building the system configuration... | |
evaluating derivation 'git+file:///home/jorge/puntoarchivos#nixosConfigurations."woody".config.system.build.toplevel'fatal: unable to read tree (fdcdd095f3b721485bee6c4b61f101e52aeecc88) | |
error: | |
… while calling anonymous lambda | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/attrsets.nix:1529:14: | |
1528| zipAttrsWith ( | |
1529| n: values: | |
| ^ | |
1530| let | |
… while calling the 'head' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/attrsets.nix:1534:13: | |
1533| if length values == 1 || pred here (elemAt values 1) (head values) then | |
1534| head values | |
| ^ | |
1535| else | |
… while calling anonymous lambda | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/attrsets.nix:1182:17: | |
1181| mapAttrs ( | |
1182| name: value: | |
| ^ | |
1183| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/attrsets.nix:1183:85: | |
1182| name: value: | |
1183| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | |
| ^ | |
1184| ); | |
… while calling anonymous lambda | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:273:71: | |
272| # For definitions that have an associated option | |
273| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | |
| ^ | |
274| | |
… while evaluating the attribute 'value' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1084:7: | |
1083| // { | |
1084| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | |
| ^ | |
1085| inherit (res.defsFinal') highestPrio; | |
… while calling the 'addErrorContext' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1084:15: | |
1083| // { | |
1084| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | |
| ^ | |
1085| inherit (res.defsFinal') highestPrio; | |
… while evaluating the option `system.build.toplevel': | |
… while evaluating the attribute 'mergedValue' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1131:5: | |
1130| # Type-check the remaining definitions, and merge them. Or throw if no definitions. | |
1131| mergedValue = | |
| ^ | |
1132| if isDefined then | |
… while evaluating isDefined | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1132:10: | |
1131| mergedValue = | |
1132| if isDefined then | |
| ^ | |
1133| if all (def: type.check def.value) defsFinal then | |
… while evaluating defsFinal | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1146:17: | |
1145| | |
1146| isDefined = defsFinal != [ ]; | |
| ^ | |
1147| | |
… while evaluating the attribute 'values' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1125:9: | |
1124| { | |
1125| values = defs'''; | |
| ^ | |
1126| inherit (defs'') highestPrio; | |
… while calling the 'any' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1119:14: | |
1118| # Avoid sorting if we don't have to. | |
1119| if any (def: def.value._type or "" == "order") defs''.values then | |
| ^ | |
1120| sortProperties defs''.values | |
… while evaluating the attribute 'values' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1252:7: | |
1251| { | |
1252| values = concatMap (def: if getPrio def == highestPrio then [ (strip def) ] else [ ]) defs; | |
| ^ | |
1253| inherit highestPrio; | |
… while calling the 'concatMap' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1252:16: | |
1251| { | |
1252| values = concatMap (def: if getPrio def == highestPrio then [ (strip def) ] else [ ]) defs; | |
| ^ | |
1253| inherit highestPrio; | |
… while calling the 'concatMap' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1099:17: | |
1098| # Process mkMerge and mkIf properties. | |
1099| defs' = concatMap ( | |
| ^ | |
1100| m: | |
… while calling anonymous lambda | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1100:11: | |
1099| defs' = concatMap ( | |
1100| m: | |
| ^ | |
1101| map ( | |
… while calling the 'map' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1101:11: | |
1100| m: | |
1101| map ( | |
| ^ | |
1102| value: | |
… while calling the 'addErrorContext' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1110:14: | |
1109| } | |
1110| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | |
| ^ | |
1111| ) defs; | |
… while evaluating definitions from `/nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/nixos/modules/system/activation/top-level.nix': | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1110:80: | |
1109| } | |
1110| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | |
| ^ | |
1111| ) defs; | |
… while calling 'dischargeProperties' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1203:5: | |
1202| dischargeProperties = | |
1203| def: | |
| ^ | |
1204| if def._type or "" == "merge" then | |
… while evaluating an expression to select '_type' on it | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1204:8: | |
1203| def: | |
1204| if def._type or "" == "merge" then | |
| ^ | |
1205| concatMap dischargeProperties def.contents | |
… while evaluating def | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1204:8: | |
1203| def: | |
1204| if def._type or "" == "merge" then | |
| ^ | |
1205| concatMap dischargeProperties def.contents | |
… while evaluating the attribute 'value' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:770:21: | |
769| inherit (module) file; | |
770| inherit value; | |
| ^ | |
771| }) module.config | |
… while evaluating system | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/nixos/modules/system/activation/top-level.nix:403:79: | |
402| system.build.toplevel = | |
403| if config.system.includeBuildDependencies then systemWithBuildDeps else system; | |
| ^ | |
404| | |
… while evaluating baseSystemAssertWarn | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/nixos/modules/system/activation/top-level.nix:89:7: | |
88| # Avoid IFD if possible, by sidestepping replaceDependencies if no replacements are specified. | |
89| baseSystemAssertWarn | |
| ^ | |
90| else | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/nixos/modules/system/activation/top-level.nix:80:26: | |
79| # Handle assertions and warnings | |
80| baseSystemAssertWarn = lib.asserts.checkAssertWarn config.assertions config.warnings baseSystem; | |
| ^ | |
81| | |
… while calling 'checkAssertWarn' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/asserts.nix:193:27: | |
192| checkAssertWarn = | |
193| assertions: warnings: val: | |
| ^ | |
194| let | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/asserts.nix:200:7: | |
199| else | |
200| showWarnings warnings val; | |
| ^ | |
201| | |
… while calling 'showWarnings' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/trivial.nix:962:28: | |
961| | |
962| showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings; | |
| ^ | |
963| | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/trivial.nix:962:33: | |
961| | |
962| showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings; | |
| ^ | |
963| | |
… while calling 'foldr' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/lists.nix:139:14: | |
138| foldr = | |
139| op: nul: list: | |
| ^ | |
140| let | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/lists.nix:144:5: | |
143| in | |
144| fold' 0; | |
| ^ | |
145| | |
… while calling 'fold'' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/lists.nix:142:15: | |
141| len = length list; | |
142| fold' = n: if n == len then nul else op (elemAt list n) (fold' (n + 1)); | |
| ^ | |
143| in | |
… while evaluating nul | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/lists.nix:142:35: | |
141| len = length list; | |
142| fold' = n: if n == len then nul else op (elemAt list n) (fold' (n + 1)); | |
| ^ | |
143| in | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/nixos/modules/system/activation/top-level.nix:62:16: | |
61| # makes it bootable. See `activatable-system.nix`. | |
62| baseSystem = pkgs.stdenvNoCC.mkDerivation ( | |
| ^ | |
63| { | |
… while calling 'mkDerivation' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/pkgs/stdenv/generic/make-derivation.nix:65:5: | |
64| mkDerivation = | |
65| fnOrAttrs: | |
| ^ | |
66| if builtins.isFunction fnOrAttrs then | |
… while calling the 'isFunction' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/pkgs/stdenv/generic/make-derivation.nix:66:8: | |
65| fnOrAttrs: | |
66| if builtins.isFunction fnOrAttrs then | |
| ^ | |
67| makeDerivationExtensible fnOrAttrs | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/nixos/modules/system/activation/top-level.nix:76:22: | |
75| } | |
76| // config.system.systemBuilderArgs | |
| ^ | |
77| ); | |
… while calling anonymous lambda | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/attrsets.nix:1182:17: | |
1181| mapAttrs ( | |
1182| name: value: | |
| ^ | |
1183| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/attrsets.nix:1183:85: | |
1182| name: value: | |
1183| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | |
| ^ | |
1184| ); | |
… while calling anonymous lambda | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:273:71: | |
272| # For definitions that have an associated option | |
273| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | |
| ^ | |
274| | |
… while evaluating the attribute 'value' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1084:7: | |
1083| // { | |
1084| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | |
| ^ | |
1085| inherit (res.defsFinal') highestPrio; | |
… while calling the 'addErrorContext' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1084:15: | |
1083| // { | |
1084| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | |
| ^ | |
1085| inherit (res.defsFinal') highestPrio; | |
… while evaluating the option `system.systemBuilderArgs': | |
… while evaluating the attribute 'mergedValue' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1131:5: | |
1130| # Type-check the remaining definitions, and merge them. Or throw if no definitions. | |
1131| mergedValue = | |
| ^ | |
1132| if isDefined then | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1134:11: | |
1133| if all (def: type.check def.value) defsFinal then | |
1134| type.merge loc defsFinal | |
| ^ | |
1135| else | |
… while calling anonymous lambda | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/types.nix:831:22: | |
830| # Non-lazy merge Function | |
831| loc: defs: | |
| ^ | |
832| mapAttrs (n: v: v.value) ( | |
… while calling the 'mapAttrs' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/types.nix:832:17: | |
831| loc: defs: | |
832| mapAttrs (n: v: v.value) ( | |
| ^ | |
833| filterAttrs (n: v: v ? value) ( | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/types.nix:833:19: | |
832| mapAttrs (n: v: v.value) ( | |
833| filterAttrs (n: v: v ? value) ( | |
| ^ | |
834| zipAttrsWith (name: defs: (mergeDefinitions (loc ++ [ name ]) elemType (defs)).optionalValue) | |
… while calling 'filterAttrs' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/attrsets.nix:657:23: | |
656| */ | |
657| filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set)); | |
| ^ | |
658| | |
… while calling the 'removeAttrs' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/attrsets.nix:657:28: | |
656| */ | |
657| filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set)); | |
| ^ | |
658| | |
… while calling the 'filter' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/attrsets.nix:657:45: | |
656| */ | |
657| filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set)); | |
| ^ | |
658| | |
… while calling anonymous lambda | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/attrsets.nix:657:53: | |
656| */ | |
657| filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set)); | |
| ^ | |
658| | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/attrsets.nix:657:60: | |
656| */ | |
657| filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set)); | |
| ^ | |
658| | |
… while calling anonymous lambda | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/types.nix:833:35: | |
832| mapAttrs (n: v: v.value) ( | |
833| filterAttrs (n: v: v ? value) ( | |
| ^ | |
834| zipAttrsWith (name: defs: (mergeDefinitions (loc ++ [ name ]) elemType (defs)).optionalValue) | |
… while evaluating v | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/types.nix:833:38: | |
832| mapAttrs (n: v: v.value) ( | |
833| filterAttrs (n: v: v ? value) ( | |
| ^ | |
834| zipAttrsWith (name: defs: (mergeDefinitions (loc ++ [ name ]) elemType (defs)).optionalValue) | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/attrsets.nix:657:74: | |
656| */ | |
657| filterAttrs = pred: set: removeAttrs set (filter (name: !pred name set.${name}) (attrNames set)); | |
| ^ | |
658| | |
… while calling anonymous lambda | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/types.nix:834:41: | |
833| filterAttrs (n: v: v ? value) ( | |
834| zipAttrsWith (name: defs: (mergeDefinitions (loc ++ [ name ]) elemType (defs)).optionalValue) | |
| ^ | |
835| # Push down position info. | |
… while evaluating the attribute 'optionalValue' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1148:5: | |
1147| | |
1148| optionalValue = if isDefined then { value = mergedValue; } else { }; | |
| ^ | |
1149| }; | |
… while evaluating isDefined | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1148:24: | |
1147| | |
1148| optionalValue = if isDefined then { value = mergedValue; } else { }; | |
| ^ | |
1149| }; | |
(9 duplicate frames omitted) | |
… while evaluating definitions from `/nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/nixos/modules/system/activation/activatable-system.nix': | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1110:80: | |
1109| } | |
1110| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | |
| ^ | |
1111| ) defs; | |
… while calling 'dischargeProperties' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1203:5: | |
1202| dischargeProperties = | |
1203| def: | |
| ^ | |
1204| if def._type or "" == "merge" then | |
… while evaluating an expression to select '_type' on it | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1204:8: | |
1203| def: | |
1204| if def._type or "" == "merge" then | |
| ^ | |
1205| concatMap dischargeProperties def.contents | |
… while evaluating def | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1204:8: | |
1203| def: | |
1204| if def._type or "" == "merge" then | |
| ^ | |
1205| concatMap dischargeProperties def.contents | |
… while evaluating the attribute 'value' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/types.nix:774:15: | |
773| inherit (def) file; | |
774| value = v; | |
| ^ | |
775| }) def.value | |
… while evaluating the attribute 'system.activationScripts.script' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/nixos/modules/system/activation/activation-script.nix:174:11: | |
173| // { | |
174| script = systemActivationScript set false; | |
| ^ | |
175| }; | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/nixos/modules/system/activation/activation-script.nix:174:20: | |
173| // { | |
174| script = systemActivationScript set false; | |
| ^ | |
175| }; | |
… while calling 'systemActivationScript' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/nixos/modules/system/activation/activation-script.nix:30:10: | |
29| systemActivationScript = | |
30| set: onlyDry: | |
| ^ | |
31| let | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/nixos/modules/system/activation/activation-script.nix:71:9: | |
70| | |
71| ${textClosureMap id (withDrySnippets) (attrNames withDrySnippets)} | |
| ^ | |
72| | |
… while calling 'textClosureMap' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/strings-with-deps.nix:168:20: | |
167| textClosureMap = | |
168| f: predefined: names: | |
| ^ | |
169| concatStringsSep "\n" (map f (textClosureList predefined names)); | |
… while calling the 'concatStringsSep' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/strings-with-deps.nix:169:5: | |
168| f: predefined: names: | |
169| concatStringsSep "\n" (map f (textClosureList predefined names)); | |
| ^ | |
170| | |
… while calling 'id' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/trivial.nix:40:8: | |
39| */ | |
40| id = x: x; | |
| ^ | |
41| | |
… while evaluating x | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/trivial.nix:40:11: | |
39| */ | |
40| id = x: x; | |
| ^ | |
41| | |
… while evaluating the attribute 'text' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/nixos/modules/system/activation/activation-script.nix:17:7: | |
16| // { | |
17| text = '' | |
| ^ | |
18| #### Activation script snippet ${a}: | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/nixos/modules/system/activation/activation-script.nix:20:13: | |
19| _localstatus=0 | |
20| ${v.text} | |
| ^ | |
21| | |
… while calling anonymous lambda | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/attrsets.nix:1182:17: | |
1181| mapAttrs ( | |
1182| name: value: | |
| ^ | |
1183| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/attrsets.nix:1183:85: | |
1182| name: value: | |
1183| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | |
| ^ | |
1184| ); | |
… while calling anonymous lambda | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:273:71: | |
272| # For definitions that have an associated option | |
273| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | |
| ^ | |
274| | |
… while evaluating the attribute 'value' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1084:7: | |
1083| // { | |
1084| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | |
| ^ | |
1085| inherit (res.defsFinal') highestPrio; | |
… while calling the 'addErrorContext' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1084:15: | |
1083| // { | |
1084| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | |
| ^ | |
1085| inherit (res.defsFinal') highestPrio; | |
… while evaluating the option `system.activationScripts.etc.text': | |
(11 duplicate frames omitted) | |
… while evaluating definitions from `/nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/nixos/modules/system/etc/etc-activation.nix': | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1110:80: | |
1109| } | |
1110| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | |
| ^ | |
1111| ) defs; | |
… while calling 'dischargeProperties' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1203:5: | |
1202| dischargeProperties = | |
1203| def: | |
| ^ | |
1204| if def._type or "" == "merge" then | |
… while evaluating an expression to select '_type' on it | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1204:8: | |
1203| def: | |
1204| if def._type or "" == "merge" then | |
| ^ | |
1205| concatMap dischargeProperties def.contents | |
… while evaluating def | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1204:8: | |
1203| def: | |
1204| if def._type or "" == "merge" then | |
| ^ | |
1205| concatMap dischargeProperties def.contents | |
… while evaluating the attribute 'value' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:770:21: | |
769| inherit (module) file; | |
770| inherit value; | |
| ^ | |
771| }) module.config | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/nixos/modules/system/etc/etc-activation.nix:19:29: | |
18| "specialfs" | |
19| ] config.system.build.etcActivationCommands; | |
| ^ | |
20| } | |
… while calling anonymous lambda | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/attrsets.nix:1529:14: | |
1528| zipAttrsWith ( | |
1529| n: values: | |
| ^ | |
1530| let | |
… while calling the 'head' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/attrsets.nix:1534:13: | |
1533| if length values == 1 || pred here (elemAt values 1) (head values) then | |
1534| head values | |
| ^ | |
1535| else | |
… while calling anonymous lambda | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/types.nix:818:27: | |
817| ( | |
818| name: defs: | |
| ^ | |
819| let | |
… while evaluating the attribute 'optionalValue.value' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1148:5: | |
1147| | |
1148| optionalValue = if isDefined then { value = mergedValue; } else { }; | |
| ^ | |
1149| }; | |
… while evaluating an expression to select 'value' on it | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/types.nix:823:42: | |
822| in | |
823| merged.optionalValue.value or elemType.emptyValue.value or merged.mergedValue | |
| ^ | |
824| ) | |
(10 duplicate frames omitted) | |
… while evaluating definitions from `/nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/nixos/modules/system/etc/etc.nix': | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1110:80: | |
1109| } | |
1110| ) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | |
| ^ | |
1111| ) defs; | |
… while calling 'dischargeProperties' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1203:5: | |
1202| dischargeProperties = | |
1203| def: | |
| ^ | |
1204| if def._type or "" == "merge" then | |
… while evaluating an expression to select '_type' on it | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1204:8: | |
1203| def: | |
1204| if def._type or "" == "merge" then | |
| ^ | |
1205| concatMap dischargeProperties def.contents | |
… while evaluating def | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1204:8: | |
1203| def: | |
1204| if def._type or "" == "merge" then | |
| ^ | |
1205| concatMap dischargeProperties def.contents | |
… while evaluating the attribute 'value' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/types.nix:774:15: | |
773| inherit (def) file; | |
774| value = v; | |
| ^ | |
775| }) def.value | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/attrsets.nix:293:73: | |
292| len = length attrPath; | |
293| atDepth = n: if n == len then value else { ${elemAt attrPath n} = atDepth (n + 1); }; | |
| ^ | |
294| in | |
… while calling 'atDepth' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/attrsets.nix:293:17: | |
292| len = length attrPath; | |
293| atDepth = n: if n == len then value else { ${elemAt attrPath n} = atDepth (n + 1); }; | |
| ^ | |
294| in | |
… while evaluating value | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/attrsets.nix:293:37: | |
292| len = length attrPath; | |
293| atDepth = n: if n == len then value else { ${elemAt attrPath n} = atDepth (n + 1); }; | |
| ^ | |
294| in | |
… while evaluating the attribute 'value' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:770:21: | |
769| inherit (module) file; | |
770| inherit value; | |
| ^ | |
771| }) module.config | |
… while calling the 'getAttr' builtin | |
at «internal»:1:500: | |
… while calling the 'derivationStrict' builtin | |
at «internal»:1:208: | |
… while evaluating derivation 'etc' | |
whose name attribute is located at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/pkgs/stdenv/generic/make-derivation.nix:480:13 | |
… while evaluating attribute 'buildCommand' of derivation 'etc' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/pkgs/build-support/trivial-builders/default.nix:80:17: | |
79| enableParallelBuilding = true; | |
80| inherit buildCommand name; | |
| ^ | |
81| passAsFile = [ "buildCommand" ] ++ (derivationArgs.passAsFile or [ ]); | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/nixos/modules/system/etc/etc.nix:56:11: | |
55| mkdir -p "$out/etc" | |
56| ${lib.concatMapStringsSep "\n" ( | |
| ^ | |
57| etcEntry: | |
… while calling 'concatMapStringsSep' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/strings.nix:231:13: | |
230| concatMapStringsSep = | |
231| sep: f: list: | |
| ^ | |
232| concatStringsSep sep (map f list); | |
… while calling the 'concatStringsSep' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/strings.nix:232:5: | |
231| sep: f: list: | |
232| concatStringsSep sep (map f list); | |
| ^ | |
233| | |
… while calling anonymous lambda | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/nixos/modules/system/etc/etc.nix:57:11: | |
56| ${lib.concatMapStringsSep "\n" ( | |
57| etcEntry: | |
| ^ | |
58| lib.escapeShellArgs [ | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/nixos/modules/system/etc/etc.nix:58:11: | |
57| etcEntry: | |
58| lib.escapeShellArgs [ | |
| ^ | |
59| "makeEtcEntry" | |
… while calling 'concatMapStringsSep' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/strings.nix:231:13: | |
230| concatMapStringsSep = | |
231| sep: f: list: | |
| ^ | |
232| concatStringsSep sep (map f list); | |
… while calling the 'concatStringsSep' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/strings.nix:232:5: | |
231| sep: f: list: | |
232| concatStringsSep sep (map f list); | |
| ^ | |
233| | |
… while calling 'escapeShellArg' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/strings.nix:1136:5: | |
1135| escapeShellArg = | |
1136| arg: | |
| ^ | |
1137| let | |
… while calling the 'match' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/strings.nix:1140:8: | |
1139| in | |
1140| if match "[[:alnum:],._+:@%/-]+" string == null then | |
| ^ | |
1141| "'${replaceStrings [ "'" ] [ "'\\''" ] string}'" | |
… while evaluating the second argument passed to builtins.match | |
… while calling the 'toString' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/strings.nix:1138:16: | |
1137| let | |
1138| string = toString arg; | |
| ^ | |
1139| in | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/nixos/modules/system/etc/etc.nix:61:25: | |
60| # Force local source paths to be added to the store | |
61| "${etcEntry.source}" | |
| ^ | |
62| etcEntry.target | |
… while calling anonymous lambda | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/attrsets.nix:1182:17: | |
1181| mapAttrs ( | |
1182| name: value: | |
| ^ | |
1183| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/attrsets.nix:1183:85: | |
1182| name: value: | |
1183| if isAttrs value && cond value then recurse (path ++ [ name ]) value else f (path ++ [ name ]) value | |
| ^ | |
1184| ); | |
… while calling anonymous lambda | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:273:71: | |
272| # For definitions that have an associated option | |
273| declaredConfig = mapAttrsRecursiveCond (v: !isOption v) (_: v: v.value) options; | |
| ^ | |
274| | |
… while evaluating the attribute 'value' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1084:7: | |
1083| // { | |
1084| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | |
| ^ | |
1085| inherit (res.defsFinal') highestPrio; | |
… while calling the 'addErrorContext' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1084:15: | |
1083| // { | |
1084| value = addErrorContext "while evaluating the option `${showOption loc}':" value; | |
| ^ | |
1085| inherit (res.defsFinal') highestPrio; | |
… while evaluating the option `environment.etc."profiles/per-user/jorge".source': | |
… while evaluating the attribute 'mergedValue' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1131:5: | |
1130| # Type-check the remaining definitions, and merge them. Or throw if no definitions. | |
1131| mergedValue = | |
| ^ | |
1132| if isDefined then | |
… while calling the 'all' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1133:12: | |
1132| if isDefined then | |
1133| if all (def: type.check def.value) defsFinal then | |
| ^ | |
1134| type.merge loc defsFinal | |
… while calling anonymous lambda | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1133:17: | |
1132| if isDefined then | |
1133| if all (def: type.check def.value) defsFinal then | |
| ^ | |
1134| type.merge loc defsFinal | |
… from call site | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/modules.nix:1133:22: | |
1132| if isDefined then | |
1133| if all (def: type.check def.value) defsFinal then | |
| ^ | |
1134| type.merge loc defsFinal | |
… while calling 'check' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/types.nix:679:15: | |
678| check = | |
679| x: | |
| ^ | |
680| let | |
… while evaluating isAbsolute | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/types.nix:696:51: | |
695| && (inStore == null || inStore == isInStore) | |
696| && (absolute == null || absolute == isAbsolute); | |
| ^ | |
697| }; | |
… while calling the 'substring' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/types.nix:689:30: | |
688| ); | |
689| isAbsolute = builtins.substring 0 1 (toString x) == "/"; | |
| ^ | |
690| isExpectedType = ( | |
… while calling the 'toString' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/lib/types.nix:689:54: | |
688| ); | |
689| isAbsolute = builtins.substring 0 1 (toString x) == "/"; | |
| ^ | |
690| isExpectedType = ( | |
… while calling the 'getAttr' builtin | |
at «internal»:1:500: | |
… while calling the 'derivationStrict' builtin | |
at «internal»:1:208: | |
… while evaluating derivation 'user-environment' | |
whose name attribute is located at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/pkgs/stdenv/generic/make-derivation.nix:480:13 | |
… while evaluating attribute 'passAsFile' of derivation 'user-environment' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/pkgs/build-support/trivial-builders/default.nix:81:9: | |
80| inherit buildCommand name; | |
81| passAsFile = [ "buildCommand" ] ++ (derivationArgs.passAsFile or [ ]); | |
| ^ | |
82| } | |
… while evaluating the attribute 'passAsFile' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/pkgs/build-support/buildenv/default.nix:113:9: | |
112| # XXX: The size is somewhat arbitrary | |
113| passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ]; | |
| ^ | |
114| } | |
… while calling the 'lessThan' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/pkgs/build-support/buildenv/default.nix:113:52: | |
112| # XXX: The size is somewhat arbitrary | |
113| passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ]; | |
| ^ | |
114| } | |
… while calling the 'stringLength' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/pkgs/build-support/buildenv/default.nix:113:25: | |
112| # XXX: The size is somewhat arbitrary | |
113| passAsFile = if builtins.stringLength pkgs >= 128 * 1024 then [ "pkgs" ] else [ ]; | |
| ^ | |
114| } | |
… while calling the 'toJSON' builtin | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/pkgs/build-support/buildenv/default.nix:108:16: | |
107| ; | |
108| pkgs = builtins.toJSON chosenOutputs; | |
| ^ | |
109| extraPathsFrom = lib.optional includeClosures (writeClosure pathsForClosure); | |
… while evaluating list element at index 0 | |
… while evaluating attribute 'paths' | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/pkgs/build-support/buildenv/default.nix:68:7: | |
67| chosenOutputs = map (drv: { | |
68| paths = | |
| ^ | |
69| # First add the usual output(s): respect if user has chosen explicitly, | |
… while evaluating list element at index 0 | |
at /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source/pkgs/build-support/buildenv/default.nix:68:7: | |
67| chosenOutputs = map (drv: { | |
68| paths = | |
| ^ | |
69| # First add the usual output(s): respect if user has chosen explicitly, | |
… while calling the 'getAttr' builtin | |
at «internal»:1:500: | |
… while calling the 'derivationStrict' builtin | |
at «internal»:1:208: | |
… while evaluating derivation 'star-citizen' | |
whose name attribute is located at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/pkgs/stdenv/generic/make-derivation.nix:480:13 | |
… while evaluating attribute 'paths' of derivation 'star-citizen' | |
at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/pkgs/build-support/trivial-builders/default.nix:619:11: | |
618| inherit preferLocalBuild allowSubstitutes; | |
619| paths = mapPaths (path: "${path}${stripPrefix}") paths; | |
| ^ | |
620| passAsFile = [ "paths" ]; | |
… while calling anonymous lambda | |
at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/pkgs/build-support/trivial-builders/default.nix:601:11: | |
600| map ( | |
601| path: | |
| ^ | |
602| if path == null then | |
… from call site | |
at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/pkgs/build-support/trivial-builders/default.nix:607:13: | |
606| else | |
607| f path | |
| ^ | |
608| ) paths; | |
… while calling anonymous lambda | |
at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/pkgs/build-support/trivial-builders/default.nix:619:29: | |
618| inherit preferLocalBuild allowSubstitutes; | |
619| paths = mapPaths (path: "${path}${stripPrefix}") paths; | |
| ^ | |
620| passAsFile = [ "paths" ]; | |
… while calling the 'getAttr' builtin | |
at «internal»:1:500: | |
… while calling the 'derivationStrict' builtin | |
at «internal»:1:208: | |
… while evaluating derivation 'star-citizen.desktop' | |
whose name attribute is located at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/pkgs/stdenv/generic/make-derivation.nix:480:13 | |
… while evaluating attribute 'text' of derivation 'star-citizen.desktop' | |
at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/pkgs/build-support/trivial-builders/default.nix:129:13: | |
128| inherit | |
129| text | |
| ^ | |
130| executable | |
… while calling the 'concatStringsSep' builtin | |
at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/pkgs/build-support/make-desktopitem/default.nix:203:12: | |
202| destination = "${destination}/${name}.${extension}"; | |
203| text = builtins.concatStringsSep "\n" content; | |
| ^ | |
204| checkPhase = ''${buildPackages.desktop-file-utils}/bin/desktop-file-validate "$target"''; | |
… from call site | |
at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/pkgs/build-support/make-desktopitem/default.nix:180:27: | |
179| | |
180| mainSectionRendered = renderSection "Desktop Entry" mainSection; | |
| ^ | |
181| | |
… while calling 'renderSection' | |
at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/pkgs/build-support/make-desktopitem/default.nix:169:20: | |
168| renderSection = | |
169| sectionName: attrs: | |
| ^ | |
170| lib.pipe attrs [ | |
… while calling the 'foldl'' builtin | |
at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/pkgs/build-support/make-desktopitem/default.nix:170:7: | |
169| sectionName: attrs: | |
170| lib.pipe attrs [ | |
| ^ | |
171| (lib.mapAttrsToList renderLine) | |
… while calling anonymous lambda | |
at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/lib/trivial.nix:129:30: | |
128| */ | |
129| pipe = builtins.foldl' (x: f: f x); | |
| ^ | |
130| | |
… while calling the 'filter' builtin | |
at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/lib/trivial.nix:129:33: | |
128| */ | |
129| pipe = builtins.foldl' (x: f: f x); | |
| ^ | |
130| | |
… while calling anonymous lambda | |
at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/pkgs/build-support/make-desktopitem/default.nix:172:27: | |
171| (lib.mapAttrsToList renderLine) | |
172| (builtins.filter (v: v != null)) | |
| ^ | |
173| (builtins.concatStringsSep "\n") | |
… while evaluating v | |
at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/pkgs/build-support/make-desktopitem/default.nix:172:30: | |
171| (lib.mapAttrsToList renderLine) | |
172| (builtins.filter (v: v != null)) | |
| ^ | |
173| (builtins.concatStringsSep "\n") | |
… from call site | |
at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/pkgs/build-support/make-desktopitem/default.nix:172:30: | |
171| (lib.mapAttrsToList renderLine) | |
172| (builtins.filter (v: v != null)) | |
| ^ | |
173| (builtins.concatStringsSep "\n") | |
… while calling 'renderLine' | |
at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/pkgs/build-support/make-desktopitem/default.nix:164:24: | |
163| # need to be escaped. There are currently none in nixpkgs though, so this is OK. | |
164| renderLine = name: value: if value != null then "${name}=${value}" else null; | |
| ^ | |
165| | |
… while evaluating value | |
at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/pkgs/build-support/make-desktopitem/default.nix:164:34: | |
163| # need to be escaped. There are currently none in nixpkgs though, so this is OK. | |
164| renderLine = name: value: if value != null then "${name}=${value}" else null; | |
| ^ | |
165| | |
… while calling the 'getAttr' builtin | |
at «internal»:1:500: | |
… while calling the 'derivationStrict' builtin | |
at «internal»:1:208: | |
… while evaluating derivation 'star-citizen' | |
whose name attribute is located at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/pkgs/stdenv/generic/make-derivation.nix:480:13 | |
… while evaluating attribute 'text' of derivation 'star-citizen' | |
at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/pkgs/build-support/trivial-builders/default.nix:129:13: | |
128| inherit | |
129| text | |
| ^ | |
130| executable | |
… while evaluating text | |
at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/pkgs/build-support/trivial-builders/default.nix:234:11: | |
233| #!${runtimeShell} | |
234| ${text} | |
| ^ | |
235| ''; | |
… from call site | |
at /nix/store/s3mblis2pmqzplv8zv30sg1mh7d1xb7v-source/pkgs/star-citizen/default.nix:101:11: | |
100| | |
101| ${lib.getExe wineprefix-preparer} | |
| ^ | |
102| | |
… while calling 'getExe' | |
at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/lib/meta.nix:434:5: | |
433| getExe = | |
434| x: | |
| ^ | |
435| getExe' x ( | |
… from call site | |
at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/lib/meta.nix:435:5: | |
434| x: | |
435| getExe' x ( | |
| ^ | |
436| x.meta.mainProgram or ( | |
… while calling 'getExe'' | |
at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/lib/meta.nix:480:8: | |
479| getExe' = | |
480| x: y: | |
| ^ | |
481| assert assertMsg (isDerivation x) | |
… while calling the 'getAttr' builtin | |
at «internal»:1:500: | |
… while calling the 'derivationStrict' builtin | |
at «internal»:1:208: | |
… while evaluating derivation 'wineprefix-preparer' | |
whose name attribute is located at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/pkgs/stdenv/generic/make-derivation.nix:480:13 | |
… while evaluating attribute 'text' of derivation 'wineprefix-preparer' | |
at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/pkgs/build-support/trivial-builders/default.nix:129:13: | |
128| inherit | |
129| text | |
| ^ | |
130| executable | |
… while evaluating text | |
at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/pkgs/build-support/trivial-builders/default.nix:234:11: | |
233| #!${runtimeShell} | |
234| ${text} | |
| ^ | |
235| ''; | |
… while calling the 'getAttr' builtin | |
at «internal»:1:500: | |
… while calling the 'derivationStrict' builtin | |
at «internal»:1:208: | |
… while evaluating derivation 'dxvk-x86_64-w64-mingw32' | |
whose name attribute is located at /nix/store/zxdp3r7mnikb6mjs8d8fl92d25j6p6c4-source/pkgs/stdenv/generic/make-derivation.nix:480:13 | |
… while evaluating attribute 'src' of derivation 'dxvk-x86_64-w64-mingw32' | |
at /nix/store/s3mblis2pmqzplv8zv30sg1mh7d1xb7v-source/pkgs/dxvk/default.nix:49:5: | |
48| | |
49| src = dxvk; | |
| ^ | |
50| | |
… from call site | |
at /nix/store/s3mblis2pmqzplv8zv30sg1mh7d1xb7v-source/npins/default.nix:67:26: | |
66| in | |
67| spec // {outPath = mayOverride name path;}; | |
| ^ | |
68| | |
… while calling 'mayOverride' | |
at /nix/store/s3mblis2pmqzplv8zv30sg1mh7d1xb7v-source/npins/default.nix:32:23: | |
31| # (Taken from Niv for compatibility) | |
32| mayOverride = name: path: let | |
| ^ | |
33| envVarName = "NPINS_OVERRIDE_${saneName}"; | |
… while evaluating path | |
at /nix/store/s3mblis2pmqzplv8zv30sg1mh7d1xb7v-source/npins/default.nix:42:10: | |
41| if ersatz == "" | |
42| then path | |
| ^ | |
43| else | |
… from call site | |
at /nix/store/s3mblis2pmqzplv8zv30sg1mh7d1xb7v-source/npins/default.nix:58:14: | |
57| else if spec.type == "GitRelease" | |
58| then mkGitSource spec | |
| ^ | |
59| else if spec.type == "PyPi" | |
… while calling 'mkGitSource' | |
at /nix/store/s3mblis2pmqzplv8zv30sg1mh7d1xb7v-source/npins/default.nix:69:17: | |
68| | |
69| mkGitSource = { | |
| ^ | |
70| repository, | |
… while calling the 'fetchGit' builtin | |
at /nix/store/s3mblis2pmqzplv8zv30sg1mh7d1xb7v-source/npins/default.nix:112:9: | |
111| in | |
112| builtins.fetchGit { | |
| ^ | |
113| rev = revision; | |
… while fetching the input 'git+https://github.com/doitsujin/dxvk.git?rev=fdcdd095f3b721485bee6c4b61f101e52aeecc88' | |
error: program 'git' failed with exit code 128 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment