Created
February 2, 2021 06:07
-
-
Save archseer/1bef397e1a26a7277e17c04b7f0e19d1 to your computer and use it in GitHub Desktop.
This file contains 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
om/NixOS/nixpkgs/issues/108938 | |
error: --- EvalError ----------------------------------------------------------------------------------------------------------------------------------- nix | |
at: (12:12) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/nixos/lib/eval-config.nix | |
11| { # !!! system can be set modularly, would be nice to remove | |
12| system ? builtins.currentSystem | |
| ^ | |
13| , # !!! is this argument needed any more? The pkgs argument can | |
attribute 'currentSystem' missing | |
------------------------------------------------------------------------ show-trace ------------------------------------------------------------------------ | |
trace: while evaluating the attribute 'value.content' | |
at: (695:14) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
694| { _type = "override"; | |
695| inherit priority content; | |
| ^ | |
696| }; | |
trace: while evaluating the attribute 'value._type' | |
at: (635:73) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
634| highestPrio = foldl' (prio: def: min (getPrio def) prio) 9999 defs; | |
635| strip = def: if def.value._type or "" == "override" then def // { value = def.value.content; } else def; | |
| ^ | |
636| in { | |
trace: while evaluating anonymous lambda | |
at: (534:19) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
533| # Avoid sorting if we don't have to. | |
534| if any (def: def.value._type or "" == "order") defs''.values | |
| ^ | |
535| then sortProperties defs''.values | |
trace: from call site | |
at: (534:14) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
533| # Avoid sorting if we don't have to. | |
534| if any (def: def.value._type or "" == "order") defs''.values | |
| ^ | |
535| then sortProperties defs''.values | |
trace: while evaluating the attribute 'values' | |
at: (538:9) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
537| in { | |
538| values = defs'''; | |
| ^ | |
539| inherit (defs'') highestPrio; | |
trace: while evaluating the attribute 'mergedValue' | |
at: (544:5) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
543| # Type-check the remaining definitions, and merge them. Or throw if no definitions. | |
544| mergedValue = | |
| ^ | |
545| if isDefined then | |
trace: while evaluating the option `nixpkgs.system': | |
trace: while evaluating the attribute 'value' | |
at: (512:9) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
511| in warnDeprecation opt // | |
512| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value; | |
| ^ | |
513| inherit (res.defsFinal') highestPrio; | |
trace: while evaluating anonymous lambda | |
at: (139:72) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
138| # For definitions that have an associated option | |
139| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options; | |
| ^ | |
140| | |
trace: from call site | |
at: (297:20) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/attrsets.nix | |
296| then recurse (path ++ [name]) value | |
297| else f (path ++ [name]) value; | |
| ^ | |
298| in mapAttrs g set; | |
trace: while evaluating 'g' | |
at: (294:19) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/attrsets.nix | |
293| g = | |
294| name: value: | |
| ^ | |
295| if isAttrs value && cond value | |
trace: from call site | |
trace: while evaluating the attribute 'system' | |
trace: while evaluating the attribute 'system' | |
at: (156:32) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/nixos/modules/misc/nixpkgs.nix | |
155| type = types.attrs; # TODO utilize lib.systems.parsedPlatform | |
156| default = { inherit (cfg) system; }; | |
| ^ | |
157| example = { system = "aarch64-linux"; config = "aarch64-unknown-linux-gnu"; }; | |
trace: while evaluating 'splitString' | |
at: (427:23) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/strings.nix | |
426| */ | |
427| splitString = _sep: _s: | |
| ^ | |
428| let | |
trace: from call site | |
at: (462:69) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/systems/parse.nix | |
461| | |
462| mkSystemFromString = s: mkSystemFromSkeleton (mkSkeletonFromList (lib.splitString "-" s)); | |
| ^ | |
463| | |
trace: while evaluating 'mkSkeletonFromList' | |
at: (382:24) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/systems/parse.nix | |
381| | |
382| mkSkeletonFromList = l: { | |
| ^ | |
383| "1" = if elemAt l 0 == "avr" | |
trace: from call site | |
at: (462:49) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/systems/parse.nix | |
461| | |
462| mkSystemFromString = s: mkSystemFromSkeleton (mkSkeletonFromList (lib.splitString "-" s)); | |
| ^ | |
463| | |
trace: while evaluating 'mkSystemFromString' | |
at: (462:24) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/systems/parse.nix | |
461| | |
462| mkSystemFromString = s: mkSystemFromSkeleton (mkSkeletonFromList (lib.splitString "-" s)); | |
| ^ | |
463| | |
trace: from call site | |
at: (23:16) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/systems/default.nix | |
22| # Prefer to parse `config` as it is strictly more informative. | |
23| parsed = parse.mkSystemFromString (if args ? config then args.config else args.system); | |
| ^ | |
24| # Either of these can be losslessly-extracted from `parsed` iff parsing succeeds. | |
trace: while evaluating the attribute 'parsed.abi.assertions' | |
at: (23:7) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/systems/default.nix | |
22| # Prefer to parse `config` as it is strictly more informative. | |
23| parsed = parse.mkSystemFromString (if args ? config then args.config else args.system); | |
| ^ | |
24| # Either of these can be losslessly-extracted from `parsed` iff parsing succeeds. | |
trace: while evaluating 'foldl'' | |
at: (82:16) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/lists.nix | |
81| let | |
82| foldl' = n: | |
| ^ | |
83| if n == -1 | |
trace: from call site | |
at: (86:8) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/lists.nix | |
85| else op (foldl' (n - 1)) (elemAt list n); | |
86| in foldl' (length list - 1); | |
| ^ | |
87| | |
trace: while evaluating 'foldl' | |
at: (80:20) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/lists.nix | |
79| */ | |
80| foldl = op: nul: list: | |
| ^ | |
81| let | |
trace: from call site | |
at: (144:13) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/systems/default.nix | |
143| in assert final.useAndroidPrebuilt -> final.isAndroid; | |
144| assert lib.foldl | |
| ^ | |
145| (pass: { assertion, message }: | |
trace: while evaluating 'elaborate' | |
at: (18:15) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/systems/default.nix | |
17| # always just used `final.*` would fail on both counts. | |
18| elaborate = args': let | |
| ^ | |
19| args = if lib.isString args' then { system = args'; } | |
trace: from call site | |
at: (505:35) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
504| # yield a value computed from the definitions | |
505| value = if opt ? apply then opt.apply res.mergedValue else res.mergedValue; | |
| ^ | |
506| | |
trace: while evaluating the option `nixpkgs.localSystem': | |
trace: while evaluating the attribute 'value' | |
at: (512:9) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
511| in warnDeprecation opt // | |
512| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value; | |
| ^ | |
513| inherit (res.defsFinal') highestPrio; | |
trace: while evaluating anonymous lambda | |
at: (139:72) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
138| # For definitions that have an associated option | |
139| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options; | |
| ^ | |
140| | |
trace: from call site | |
at: (297:20) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/attrsets.nix | |
296| then recurse (path ++ [name]) value | |
297| else f (path ++ [name]) value; | |
| ^ | |
298| in mapAttrs g set; | |
trace: while evaluating 'g' | |
at: (294:19) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/attrsets.nix | |
293| g = | |
294| name: value: | |
| ^ | |
295| if isAttrs value && cond value | |
trace: from call site | |
trace: while evaluating the attribute 'localSystem' | |
trace: while evaluating the attribute 'condition' | |
at: (680:14) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
679| { _type = "if"; | |
680| inherit condition content; | |
| ^ | |
681| }; | |
trace: while evaluating 'dischargeProperties' | |
at: (596:25) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
595| */ | |
596| dischargeProperties = def: | |
| ^ | |
597| if def._type or "" == "merge" then | |
trace: from call site | |
at: (525:137) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
524| defs' = concatMap (m: | |
525| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | |
| ^ | |
526| ) defs; | |
trace: while evaluating definitions from `/nix/store/4i0hgqq48kvcwc30b40g1ahb641fzbfj-source/modules/system-target.nix': | |
trace: while evaluating anonymous lambda | |
at: (524:28) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
523| # Process mkMerge and mkIf properties. | |
524| defs' = concatMap (m: | |
| ^ | |
525| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | |
trace: from call site | |
at: (524:17) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
523| # Process mkMerge and mkIf properties. | |
524| defs' = concatMap (m: | |
| ^ | |
525| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | |
trace: while evaluating the attribute 'values' | |
at: (637:7) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
636| in { | |
637| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs; | |
| ^ | |
638| inherit highestPrio; | |
trace: while evaluating the attribute 'values' | |
at: (538:9) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
537| in { | |
538| values = defs'''; | |
| ^ | |
539| inherit (defs'') highestPrio; | |
trace: while evaluating the attribute 'mergedValue' | |
at: (544:5) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
543| # Type-check the remaining definitions, and merge them. Or throw if no definitions. | |
544| mergedValue = | |
| ^ | |
545| if isDefined then | |
trace: while evaluating the option `nixpkgs.crossSystem': | |
trace: while evaluating the attribute 'value' | |
at: (512:9) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
511| in warnDeprecation opt // | |
512| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value; | |
| ^ | |
513| inherit (res.defsFinal') highestPrio; | |
trace: while evaluating anonymous lambda | |
at: (139:72) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
138| # For definitions that have an associated option | |
139| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options; | |
| ^ | |
140| | |
trace: from call site | |
at: (297:20) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/attrsets.nix | |
296| then recurse (path ++ [name]) value | |
297| else f (path ++ [name]) value; | |
| ^ | |
298| in mapAttrs g set; | |
trace: while evaluating 'g' | |
at: (294:19) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/attrsets.nix | |
293| g = | |
294| name: value: | |
| ^ | |
295| if isAttrs value && cond value | |
trace: from call site | |
trace: while evaluating the attribute 'crossSystem' | |
trace: while evaluating anonymous lambda | |
at: (7:1) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/pkgs/stdenv/default.nix | |
6| | |
7| { # Args just for stdenvs' usage | |
| ^ | |
8| lib | |
trace: from call site | |
at: (118:12) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/pkgs/top-level/default.nix | |
117| | |
118| stages = stdenvStages { | |
| ^ | |
119| inherit lib localSystem crossSystem config overlays crossOverlays; | |
trace: while evaluating 'reverseList' | |
at: (393:17) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/lists.nix | |
392| */ | |
393| reverseList = xs: | |
| ^ | |
394| let l = length xs; in genList (n: elemAt xs (l - n - 1)) l; | |
trace: from call site | |
at: (85:6) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/pkgs/stdenv/booter.nix | |
84| // (stageFun prevStage)) | |
85| (lib.lists.reverseList stageFuns); | |
| ^ | |
86| | |
trace: while evaluating 'imap1' | |
at: (116:14) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/lists.nix | |
115| */ | |
116| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list); | |
| ^ | |
117| | |
trace: from call site | |
at: (78:30) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/pkgs/stdenv/booter.nix | |
77| # isn't already set. | |
78| withAllowCustomOverrides = lib.lists.imap1 | |
| ^ | |
79| (index: stageFun: prevStage: | |
trace: while evaluating 'go' | |
at: (63:18) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/pkgs/stdenv/booter.nix | |
62| len = builtins.length list; | |
63| go = pred: n: | |
| ^ | |
64| if n == len | |
trace: from call site | |
at: (72:13) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/pkgs/stdenv/booter.nix | |
71| lapp = lnul cur; | |
72| cur = go lapp 0; | |
| ^ | |
73| in cur; | |
trace: while evaluating 'dfold' | |
at: (60:27) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/pkgs/stdenv/booter.nix | |
59| */ | |
60| dfold = op: lnul: rnul: list: | |
| ^ | |
61| let | |
trace: from call site | |
at: (136:4) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/pkgs/stdenv/booter.nix | |
135| | |
136| in dfold folder postStage (_: {}) withAllowCustomOverrides | |
| ^ | |
trace: while evaluating anonymous lambda | |
at: (42:1) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/pkgs/stdenv/booter.nix | |
41| # other words, this does a foldr not foldl. | |
42| stageFuns: let | |
| ^ | |
43| | |
trace: from call site | |
at: (122:10) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/pkgs/top-level/default.nix | |
121| | |
122| pkgs = boot stages; | |
| ^ | |
123| | |
trace: while evaluating anonymous lambda | |
at: (19:1) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/pkgs/top-level/default.nix | |
18| | |
19| { # The system packages will be built on. See the manual for the | |
| ^ | |
20| # subtle division of labor between these two `*System`s and the three | |
trace: from call site | |
at: (83:1) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/pkgs/top-level/impure.nix | |
82| | |
83| import ./. (builtins.removeAttrs args [ "system" ] // { | |
| ^ | |
84| inherit config overlays localSystem; | |
trace: while evaluating anonymous lambda | |
at: (15:1) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/pkgs/top-level/impure.nix | |
14| | |
15| { # We put legacy `system` into `localSystem`, if `localSystem` was not passed. | |
| ^ | |
16| # If neither is passed, assume we are building packages on the current | |
trace: from call site | |
at: (58:17) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/nixos/modules/misc/nixpkgs.nix | |
57| | |
58| defaultPkgs = import ../../.. { | |
| ^ | |
59| inherit (cfg) config overlays localSystem crossSystem; | |
trace: while evaluating the attribute 'value' | |
at: (410:58) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/types.nix | |
409| # Push down position info. | |
410| (map (def: mapAttrs (n: v: { inherit (def) file; value = v; }) def.value) defs); | |
| ^ | |
411| emptyValue = { value = {}; }; | |
trace: while evaluating 'dischargeProperties' | |
at: (596:25) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
595| */ | |
596| dischargeProperties = def: | |
| ^ | |
597| if def._type or "" == "merge" then | |
trace: from call site | |
at: (525:137) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
524| defs' = concatMap (m: | |
525| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | |
| ^ | |
526| ) defs; | |
trace: while evaluating definitions from `/nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/nixos/modules/misc/nixpkgs.nix': | |
trace: while evaluating anonymous lambda | |
at: (524:28) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
523| # Process mkMerge and mkIf properties. | |
524| defs' = concatMap (m: | |
| ^ | |
525| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | |
trace: from call site | |
at: (524:17) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
523| # Process mkMerge and mkIf properties. | |
524| defs' = concatMap (m: | |
| ^ | |
525| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value)) | |
trace: while evaluating the attribute 'values' | |
at: (637:7) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
636| in { | |
637| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs; | |
| ^ | |
638| inherit highestPrio; | |
trace: while evaluating the attribute 'values' | |
at: (538:9) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
537| in { | |
538| values = defs'''; | |
| ^ | |
539| inherit (defs'') highestPrio; | |
trace: while evaluating the attribute 'optionalValue.value' | |
at: (556:5) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/modules.nix | |
555| | |
556| optionalValue = | |
| ^ | |
557| if isDefined then { value = mergedValue; } | |
trace: while evaluating anonymous lambda | |
at: (404:29) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/types.nix | |
403| merge = loc: defs: | |
404| zipAttrsWith (name: defs: | |
| ^ | |
405| let merged = mergeDefinitions (loc ++ [name]) elemType defs; | |
trace: from call site | |
at: (362:15) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/attrsets.nix | |
361| inherit name; | |
362| value = f name (catAttrs name sets); | |
| ^ | |
363| }) names); | |
trace: while evaluating the attribute '_module.args.pkgs' | |
at: (362:7) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/attrsets.nix | |
361| inherit name; | |
362| value = f name (catAttrs name sets); | |
| ^ | |
363| }) names); | |
trace: while evaluating the module argument `pkgs' in "/nix/store/4i0hgqq48kvcwc30b40g1ahb641fzbfj-source/modules/initrd.nix": | |
trace: while evaluating the attribute 'system.build.initrd' | |
at: (318:7) in file: /nix/store/4i0hgqq48kvcwc30b40g1ahb641fzbfj-source/modules/initrd.nix | |
317| system.build.extraUtils = extraUtils; | |
318| system.build.initrd = "${initrd}/initrd"; | |
| ^ | |
319| system.build.initrd-meta = initrd-meta; | |
trace: while evaluating 'optionalString' | |
at: (202:5) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/strings.nix | |
201| # String to return if condition is true | |
202| string: if cond then string else ""; | |
| ^ | |
203| | |
trace: from call site | |
at: (102:7) in file: /nix/store/4i0hgqq48kvcwc30b40g1ahb641fzbfj-source/lib/image-builder/makeFilesystem.nix | |
101| | |
102| ${optionalString (populateCommands != null) '' | |
| ^ | |
103| echo | |
trace: while evaluating the attribute 'buildCommand' of the derivation 'partition-mobile-nixos-boot' | |
at: (43:3) in file: /nix/store/4i0hgqq48kvcwc30b40g1ahb641fzbfj-source/lib/image-builder/makeFilesystem.nix | |
42| | |
43| name = "partition-${partName}"; | |
| ^ | |
44| filename = "${partName}.img"; | |
trace: while evaluating 'image' | |
at: (41:11) in file: /nix/store/4i0hgqq48kvcwc30b40g1ahb641fzbfj-source/lib/image-builder/makeGPT.nix | |
40| | |
41| image = partition: | |
| ^ | |
42| if lib.isDerivation partition then | |
trace: from call site | |
at: (116:24) in file: /nix/store/4i0hgqq48kvcwc30b40g1ahb641fzbfj-source/lib/image-builder/makeGPT.nix | |
115| '' | |
116| input_img="${image partition}" | |
| ^ | |
117| ${sizeFragment partition} | |
trace: while evaluating anonymous lambda | |
at: (111:28) in file: /nix/store/4i0hgqq48kvcwc30b40g1ahb641fzbfj-source/lib/image-builder/makeGPT.nix | |
110| echo "Gathering information about partitions." | |
111| ${eachPart partitions (partition: | |
| ^ | |
112| if partition ? isGap && partition.isGap then | |
trace: from call site | |
at: (35:7) in file: /nix/store/4i0hgqq48kvcwc30b40g1ahb641fzbfj-source/lib/image-builder/makeGPT.nix | |
34| concatMapStringsSep "\n" (partition: | |
35| fn partition | |
| ^ | |
36| ) partitions); | |
trace: while evaluating anonymous lambda | |
at: (34:31) in file: /nix/store/4i0hgqq48kvcwc30b40g1ahb641fzbfj-source/lib/image-builder/makeGPT.nix | |
33| eachPart = partitions: fn: ( | |
34| concatMapStringsSep "\n" (partition: | |
| ^ | |
35| fn partition | |
trace: from call site | |
trace: while evaluating 'concatMapStringsSep' | |
at: (110:5) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/lib/strings.nix | |
109| # List of input strings | |
110| list: concatStringsSep sep (map f list); | |
| ^ | |
111| | |
trace: from call site | |
at: (34:5) in file: /nix/store/4i0hgqq48kvcwc30b40g1ahb641fzbfj-source/lib/image-builder/makeGPT.nix | |
33| eachPart = partitions: fn: ( | |
34| concatMapStringsSep "\n" (partition: | |
| ^ | |
35| fn partition | |
trace: while evaluating 'eachPart' | |
at: (33:26) in file: /nix/store/4i0hgqq48kvcwc30b40g1ahb641fzbfj-source/lib/image-builder/makeGPT.nix | |
32| | |
33| eachPart = partitions: fn: ( | |
| ^ | |
34| concatMapStringsSep "\n" (partition: | |
trace: from call site | |
at: (111:7) in file: /nix/store/4i0hgqq48kvcwc30b40g1ahb641fzbfj-source/lib/image-builder/makeGPT.nix | |
110| echo "Gathering information about partitions." | |
111| ${eachPart partitions (partition: | |
| ^ | |
112| if partition ? isGap && partition.isGap then | |
trace: while evaluating the attribute 'buildCommand' of the derivation 'disk-image-mobile-nixos' | |
at: (49:3) in file: /nix/store/4i0hgqq48kvcwc30b40g1ahb641fzbfj-source/lib/image-builder/makeGPT.nix | |
48| stdenvNoCC.mkDerivation rec { | |
49| name = "disk-image-${_name}"; | |
| ^ | |
50| filename = "${_name}.img"; | |
trace: while evaluating the attribute 'buildCommand' of the derivation 'pine64-pinephone_full-disk-image.img' | |
at: (7:7) in file: /nix/store/4c2qzwr33hydg61rkgraga48wwcy7nk4-source/pkgs/build-support/trivial-builders.nix | |
6| stdenv.mkDerivation ({ | |
7| name = lib.strings.sanitizeDerivationName name; | |
| ^ | |
8| inherit buildCommand; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment