begun making my home-manager config modular
This commit is contained in:
parent
97b344eb03
commit
4fcc76a32c
23 changed files with 1586 additions and 947 deletions
724
out.data
Normal file
724
out.data
Normal file
|
|
@ -0,0 +1,724 @@
|
|||
warning: Git tree '/home/me/nixdots' is dirty
|
||||
building the system configuration...
|
||||
warning: Git tree '/home/me/nixdots' is dirty
|
||||
error:
|
||||
… while calling anonymous lambda
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:1570:24:
|
||||
1569| let f = attrPath:
|
||||
1570| zipAttrsWith (n: values:
|
||||
| ^
|
||||
1571| let here = attrPath ++ [n]; in
|
||||
|
||||
… while calling the 'head' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:1574:11:
|
||||
1573| || pred here (elemAt values 1) (head values) then
|
||||
1574| head values
|
||||
| ^
|
||||
1575| else
|
||||
|
||||
… while calling anonymous lambda
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:1204:18:
|
||||
1203| mapAttrs
|
||||
1204| (name: value:
|
||||
| ^
|
||||
1205| if isAttrs value && cond value
|
||||
|
||||
… from call site
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:1207:18:
|
||||
1206| then recurse (path ++ [ name ]) value
|
||||
1207| else f (path ++ [ name ]) value);
|
||||
| ^
|
||||
1208| in
|
||||
|
||||
… while calling anonymous lambda
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:254:72:
|
||||
253| # For definitions that have an associated option
|
||||
254| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
|
||||
| ^
|
||||
255|
|
||||
|
||||
… while evaluating the attribute 'value'
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:816:9:
|
||||
815| in warnDeprecation opt //
|
||||
816| { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
|
||||
| ^
|
||||
817| inherit (res.defsFinal') highestPrio;
|
||||
|
||||
… while evaluating the option `system.build.toplevel':
|
||||
|
||||
… while evaluating the attribute 'mergedValue'
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:851:5:
|
||||
850| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
|
||||
851| mergedValue =
|
||||
| ^
|
||||
852| if isDefined then
|
||||
|
||||
… while evaluating a branch condition
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:852:7:
|
||||
851| mergedValue =
|
||||
852| if isDefined then
|
||||
| ^
|
||||
853| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
|
||||
|
||||
… while evaluating the attribute 'values'
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:845:9:
|
||||
844| in {
|
||||
845| values = defs''';
|
||||
| ^
|
||||
846| inherit (defs'') highestPrio;
|
||||
|
||||
… while evaluating a branch condition
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:841:11:
|
||||
840| # Avoid sorting if we don't have to.
|
||||
841| if any (def: def.value._type or "" == "order") defs''.values
|
||||
| ^
|
||||
842| then sortProperties defs''.values
|
||||
|
||||
… while calling the 'any' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:841:14:
|
||||
840| # Avoid sorting if we don't have to.
|
||||
841| if any (def: def.value._type or "" == "order") defs''.values
|
||||
| ^
|
||||
842| then sortProperties defs''.values
|
||||
|
||||
… while evaluating the attribute 'values'
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:944:7:
|
||||
943| in {
|
||||
944| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
|
||||
| ^
|
||||
945| inherit highestPrio;
|
||||
|
||||
… while calling the 'concatMap' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:944:16:
|
||||
943| in {
|
||||
944| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
|
||||
| ^
|
||||
945| inherit highestPrio;
|
||||
|
||||
… while calling the 'concatMap' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:831:17:
|
||||
830| # Process mkMerge and mkIf properties.
|
||||
831| defs' = concatMap (m:
|
||||
| ^
|
||||
832| map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
|
||||
|
||||
… while calling anonymous lambda
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:831:28:
|
||||
830| # Process mkMerge and mkIf properties.
|
||||
831| defs' = concatMap (m:
|
||||
| ^
|
||||
832| map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
|
||||
|
||||
… while calling the 'map' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:832:11:
|
||||
831| defs' = concatMap (m:
|
||||
832| map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
|
||||
| ^
|
||||
833| ) defs;
|
||||
|
||||
… while evaluating definitions from `/nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/nixos/modules/system/activation/top-level.nix':
|
||||
|
||||
… from call site
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:832:128:
|
||||
831| defs' = concatMap (m:
|
||||
832| map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
|
||||
| ^
|
||||
833| ) defs;
|
||||
|
||||
… while calling 'dischargeProperties'
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:903:25:
|
||||
902| */
|
||||
903| dischargeProperties = def:
|
||||
| ^
|
||||
904| if def._type or "" == "merge" then
|
||||
|
||||
… while evaluating a branch condition
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:904:5:
|
||||
903| dischargeProperties = def:
|
||||
904| if def._type or "" == "merge" then
|
||||
| ^
|
||||
905| concatMap dischargeProperties def.contents
|
||||
|
||||
… while evaluating the attribute 'value'
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:614:53:
|
||||
613| (n: value:
|
||||
614| [{ inherit (module) file; inherit value; }]
|
||||
| ^
|
||||
615| )
|
||||
|
||||
… while evaluating a branch condition
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/nixos/modules/system/activation/top-level.nix:72:26:
|
||||
71|
|
||||
72| baseSystemAssertWarn = if failedAssertions != []
|
||||
| ^
|
||||
73| then throw "\nFailed assertions:\n${concatStringsSep "\n" (map (x: "- ${x}") failedAssertions)}"
|
||||
|
||||
… while calling the 'map' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/nixos/modules/system/activation/top-level.nix:70:22:
|
||||
69|
|
||||
70| failedAssertions = map (x: x.message) (filter (x: !x.assertion) config.assertions);
|
||||
| ^
|
||||
71|
|
||||
|
||||
… while calling the 'filter' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/nixos/modules/system/activation/top-level.nix:70:42:
|
||||
69|
|
||||
70| failedAssertions = map (x: x.message) (filter (x: !x.assertion) config.assertions);
|
||||
| ^
|
||||
71|
|
||||
|
||||
… from call site
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/nixos/modules/system/activation/top-level.nix:70:67:
|
||||
69|
|
||||
70| failedAssertions = map (x: x.message) (filter (x: !x.assertion) config.assertions);
|
||||
| ^
|
||||
71|
|
||||
|
||||
… while calling anonymous lambda
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:1204:18:
|
||||
1203| mapAttrs
|
||||
1204| (name: value:
|
||||
| ^
|
||||
1205| if isAttrs value && cond value
|
||||
|
||||
… from call site
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:1207:18:
|
||||
1206| then recurse (path ++ [ name ]) value
|
||||
1207| else f (path ++ [ name ]) value);
|
||||
| ^
|
||||
1208| in
|
||||
|
||||
… while calling anonymous lambda
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:254:72:
|
||||
253| # For definitions that have an associated option
|
||||
254| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
|
||||
| ^
|
||||
255|
|
||||
|
||||
… while evaluating the attribute 'value'
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:816:9:
|
||||
815| in warnDeprecation opt //
|
||||
816| { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
|
||||
| ^
|
||||
817| inherit (res.defsFinal') highestPrio;
|
||||
|
||||
… while evaluating the option `assertions':
|
||||
|
||||
(10 duplicate frames omitted)
|
||||
|
||||
… while evaluating definitions from `/nix/store/78sgjxjd6p9wns5mriffngcrvxp9sfaa-source/nixos/common.nix':
|
||||
|
||||
… from call site
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:832:128:
|
||||
831| defs' = concatMap (m:
|
||||
832| map (value: { inherit (m) file; inherit value; }) (addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
|
||||
| ^
|
||||
833| ) defs;
|
||||
|
||||
… while calling 'dischargeProperties'
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:903:25:
|
||||
902| */
|
||||
903| dischargeProperties = def:
|
||||
| ^
|
||||
904| if def._type or "" == "merge" then
|
||||
|
||||
… from call site
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:909:11:
|
||||
908| if def.condition then
|
||||
909| dischargeProperties def.content
|
||||
| ^
|
||||
910| else
|
||||
|
||||
… while calling 'dischargeProperties'
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:903:25:
|
||||
902| */
|
||||
903| dischargeProperties = def:
|
||||
| ^
|
||||
904| if def._type or "" == "merge" then
|
||||
|
||||
… while evaluating a branch condition
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:904:5:
|
||||
903| dischargeProperties = def:
|
||||
904| if def._type or "" == "merge" then
|
||||
| ^
|
||||
905| concatMap dischargeProperties def.contents
|
||||
|
||||
… while evaluating the attribute 'content'
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:1008:25:
|
||||
1007| { _type = "if";
|
||||
1008| inherit condition content;
|
||||
| ^
|
||||
1009| };
|
||||
|
||||
… from call site
|
||||
at /nix/store/78sgjxjd6p9wns5mriffngcrvxp9sfaa-source/nixos/common.nix:110:20:
|
||||
109|
|
||||
110| assertions = flatten (flip mapAttrsToList cfg.users (user: config:
|
||||
| ^
|
||||
111| flip map config.assertions (assertion: {
|
||||
|
||||
… while calling 'flatten'
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/lists.nix:431:13:
|
||||
430| */
|
||||
431| flatten = x:
|
||||
| ^
|
||||
432| if isList x
|
||||
|
||||
… while calling the 'concatMap' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/lists.nix:433:10:
|
||||
432| if isList x
|
||||
433| then concatMap (y: flatten y) x
|
||||
| ^
|
||||
434| else [x];
|
||||
|
||||
… while calling anonymous lambda
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/lists.nix:433:21:
|
||||
432| if isList x
|
||||
433| then concatMap (y: flatten y) x
|
||||
| ^
|
||||
434| else [x];
|
||||
|
||||
… from call site
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/lists.nix:433:24:
|
||||
432| if isList x
|
||||
433| then concatMap (y: flatten y) x
|
||||
| ^
|
||||
434| else [x];
|
||||
|
||||
… while calling 'flatten'
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/lists.nix:431:13:
|
||||
430| */
|
||||
431| flatten = x:
|
||||
| ^
|
||||
432| if isList x
|
||||
|
||||
… while evaluating a branch condition
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/lists.nix:432:5:
|
||||
431| flatten = x:
|
||||
432| if isList x
|
||||
| ^
|
||||
433| then concatMap (y: flatten y) x
|
||||
|
||||
… while calling the 'isList' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/lists.nix:432:8:
|
||||
431| flatten = x:
|
||||
432| if isList x
|
||||
| ^
|
||||
433| then concatMap (y: flatten y) x
|
||||
|
||||
… while calling anonymous lambda
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:1095:10:
|
||||
1094| attrs:
|
||||
1095| map (name: f name attrs.${name}) (attrNames attrs);
|
||||
| ^
|
||||
1096|
|
||||
|
||||
… from call site
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:1095:16:
|
||||
1094| attrs:
|
||||
1095| map (name: f name attrs.${name}) (attrNames attrs);
|
||||
| ^
|
||||
1096|
|
||||
|
||||
… while calling anonymous lambda
|
||||
at /nix/store/78sgjxjd6p9wns5mriffngcrvxp9sfaa-source/nixos/common.nix:110:66:
|
||||
109|
|
||||
110| assertions = flatten (flip mapAttrsToList cfg.users (user: config:
|
||||
| ^
|
||||
111| flip map config.assertions (assertion: {
|
||||
|
||||
… from call site
|
||||
at /nix/store/78sgjxjd6p9wns5mriffngcrvxp9sfaa-source/nixos/common.nix:111:9:
|
||||
110| assertions = flatten (flip mapAttrsToList cfg.users (user: config:
|
||||
111| flip map config.assertions (assertion: {
|
||||
| ^
|
||||
112| inherit (assertion) assertion;
|
||||
|
||||
… while calling 'flip'
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/trivial.nix:317:16:
|
||||
316| */
|
||||
317| flip = f: a: b: f b a;
|
||||
| ^
|
||||
318|
|
||||
|
||||
… while calling the 'map' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/trivial.nix:317:19:
|
||||
316| */
|
||||
317| flip = f: a: b: f b a;
|
||||
| ^
|
||||
318|
|
||||
|
||||
… from call site
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:1095:23:
|
||||
1094| attrs:
|
||||
1095| map (name: f name attrs.${name}) (attrNames attrs);
|
||||
| ^
|
||||
1096|
|
||||
|
||||
… while calling anonymous lambda
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/types.nix:577:22:
|
||||
576| merge = loc: defs:
|
||||
577| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
|
||||
| ^
|
||||
578| (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue
|
||||
|
||||
… while evaluating the attribute 'value'
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:864:27:
|
||||
863| optionalValue =
|
||||
864| if isDefined then { value = mergedValue; }
|
||||
| ^
|
||||
865| else {};
|
||||
|
||||
… from call site
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:853:59:
|
||||
852| if isDefined then
|
||||
853| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
|
||||
| ^
|
||||
854| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
|
||||
|
||||
… while calling 'merge'
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/types.nix:881:22:
|
||||
880| check = x: isAttrs x || isFunction x || path.check x;
|
||||
881| merge = loc: defs:
|
||||
| ^
|
||||
882| (base.extendModules {
|
||||
|
||||
… while evaluating the attribute 'config'
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:334:9:
|
||||
333| options = checked options;
|
||||
334| config = checked (removeAttrs config [ "_module" ]);
|
||||
| ^
|
||||
335| _module = checked (config._module);
|
||||
|
||||
… while calling the 'seq' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:334:18:
|
||||
333| options = checked options;
|
||||
334| config = checked (removeAttrs config [ "_module" ]);
|
||||
| ^
|
||||
335| _module = checked (config._module);
|
||||
|
||||
… while evaluating a branch condition
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:273:9:
|
||||
272| checkUnmatched =
|
||||
273| if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [] then
|
||||
| ^
|
||||
274| let
|
||||
|
||||
… in the left operand of the AND (&&) operator
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:273:72:
|
||||
272| checkUnmatched =
|
||||
273| if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [] then
|
||||
| ^
|
||||
274| let
|
||||
|
||||
… in the left operand of the AND (&&) operator
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:273:33:
|
||||
272| checkUnmatched =
|
||||
273| if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [] then
|
||||
| ^
|
||||
274| let
|
||||
|
||||
… while evaluating a branch condition
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:266:12:
|
||||
265|
|
||||
266| in if declaredConfig._module.freeformType == null then declaredConfig
|
||||
| ^
|
||||
267| # Because all definitions that had an associated option ended in
|
||||
|
||||
… from call site
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:254:28:
|
||||
253| # For definitions that have an associated option
|
||||
254| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
|
||||
| ^
|
||||
255|
|
||||
|
||||
… while calling 'mapAttrsRecursiveCond'
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:1200:5:
|
||||
1199| f:
|
||||
1200| set:
|
||||
| ^
|
||||
1201| let
|
||||
|
||||
… while calling the 'mapAttrs' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:1209:5:
|
||||
1208| in
|
||||
1209| recurse [ ] set;
|
||||
| ^
|
||||
1210|
|
||||
|
||||
… while evaluating the attribute 'matchedOptions'
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:692:15:
|
||||
691| in {
|
||||
692| inherit matchedOptions;
|
||||
| ^
|
||||
693|
|
||||
|
||||
… while calling the 'mapAttrs' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:683:24:
|
||||
682|
|
||||
683| matchedOptions = mapAttrs (n: v: v.matchedOptions) resultsByName;
|
||||
| ^
|
||||
684|
|
||||
|
||||
… while calling the 'mapAttrs' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:636:23:
|
||||
635|
|
||||
636| resultsByName = mapAttrs (name: decls:
|
||||
| ^
|
||||
637| # We're descending into attribute ‘name’.
|
||||
|
||||
… while calling the 'zipAttrsWith' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:553:9:
|
||||
552| declsByName =
|
||||
553| zipAttrsWith
|
||||
| ^
|
||||
554| (n: concatLists)
|
||||
|
||||
… while calling the 'map' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:555:12:
|
||||
554| (n: concatLists)
|
||||
555| (map
|
||||
| ^
|
||||
556| (module: let subtree = module.options; in
|
||||
|
||||
… from call site
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:246:33:
|
||||
245| ({ inherit lib options config specialArgs; } // specialArgs);
|
||||
246| in mergeModules prefix (reverseList collected);
|
||||
| ^
|
||||
247|
|
||||
|
||||
… while calling 'reverseList'
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/lists.nix:1116:17:
|
||||
1115| */
|
||||
1116| reverseList = xs:
|
||||
| ^
|
||||
1117| let l = length xs; in genList (n: elemAt xs (l - n - 1)) l;
|
||||
|
||||
… while calling the 'genList' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/lists.nix:1117:27:
|
||||
1116| reverseList = xs:
|
||||
1117| let l = length xs; in genList (n: elemAt xs (l - n - 1)) l;
|
||||
| ^
|
||||
1118|
|
||||
|
||||
… while evaluating the second argument passed to builtins.genList
|
||||
|
||||
… while calling the 'length' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/lists.nix:1117:13:
|
||||
1116| reverseList = xs:
|
||||
1117| let l = length xs; in genList (n: elemAt xs (l - n - 1)) l;
|
||||
| ^
|
||||
1118|
|
||||
|
||||
… from call site
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:241:25:
|
||||
240| merged =
|
||||
241| let collected = collectModules
|
||||
| ^
|
||||
242| class
|
||||
|
||||
… while calling anonymous lambda
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:452:37:
|
||||
451|
|
||||
452| in modulesPath: initialModules: args:
|
||||
| ^
|
||||
453| filterModules modulesPath (collectStructuredModules unknownModule "" initialModules args);
|
||||
|
||||
… from call site
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:453:7:
|
||||
452| in modulesPath: initialModules: args:
|
||||
453| filterModules modulesPath (collectStructuredModules unknownModule "" initialModules args);
|
||||
| ^
|
||||
454|
|
||||
|
||||
… while calling 'filterModules'
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:420:36:
|
||||
419| # modules recursively. It returns the final list of unique-by-key modules
|
||||
420| filterModules = modulesPath: { disabled, modules }:
|
||||
| ^
|
||||
421| let
|
||||
|
||||
… while calling the 'map' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:447:12:
|
||||
446| keyFilter = filter (attrs: ! elem attrs.key disabledKeys);
|
||||
447| in map (attrs: attrs.module) (genericClosure {
|
||||
| ^
|
||||
448| startSet = keyFilter modules;
|
||||
|
||||
… while calling the 'genericClosure' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:447:39:
|
||||
446| keyFilter = filter (attrs: ! elem attrs.key disabledKeys);
|
||||
447| in map (attrs: attrs.module) (genericClosure {
|
||||
| ^
|
||||
448| startSet = keyFilter modules;
|
||||
|
||||
… while calling the 'filter' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:448:22:
|
||||
447| in map (attrs: attrs.module) (genericClosure {
|
||||
448| startSet = keyFilter modules;
|
||||
| ^
|
||||
449| operator = attrs: keyFilter attrs.modules;
|
||||
|
||||
… while calling anonymous lambda
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:446:31:
|
||||
445| disabledKeys = concatMap ({ file, disabled }: map (moduleKey file) disabled) disabled;
|
||||
446| keyFilter = filter (attrs: ! elem attrs.key disabledKeys);
|
||||
| ^
|
||||
447| in map (attrs: attrs.module) (genericClosure {
|
||||
|
||||
… in the argument of the not operator
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:446:40:
|
||||
445| disabledKeys = concatMap ({ file, disabled }: map (moduleKey file) disabled) disabled;
|
||||
446| keyFilter = filter (attrs: ! elem attrs.key disabledKeys);
|
||||
| ^
|
||||
447| in map (attrs: attrs.module) (genericClosure {
|
||||
|
||||
… while calling the 'elem' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:446:40:
|
||||
445| disabledKeys = concatMap ({ file, disabled }: map (moduleKey file) disabled) disabled;
|
||||
446| keyFilter = filter (attrs: ! elem attrs.key disabledKeys);
|
||||
| ^
|
||||
447| in map (attrs: attrs.module) (genericClosure {
|
||||
|
||||
… while calling the 'concatMap' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:445:26:
|
||||
444|
|
||||
445| disabledKeys = concatMap ({ file, disabled }: map (moduleKey file) disabled) disabled;
|
||||
| ^
|
||||
446| keyFilter = filter (attrs: ! elem attrs.key disabledKeys);
|
||||
|
||||
… while calling the 'concatLists' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:402:24:
|
||||
401| collectResults = modules: {
|
||||
402| disabled = concatLists (catAttrs "disabled" modules);
|
||||
| ^
|
||||
403| inherit modules;
|
||||
|
||||
… while evaluating the attribute 'disabled'
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:402:13:
|
||||
401| collectResults = modules: {
|
||||
402| disabled = concatLists (catAttrs "disabled" modules);
|
||||
| ^
|
||||
403| inherit modules;
|
||||
|
||||
… while calling the 'concatLists' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:402:24:
|
||||
401| collectResults = modules: {
|
||||
402| disabled = concatLists (catAttrs "disabled" modules);
|
||||
| ^
|
||||
403| inherit modules;
|
||||
|
||||
… while evaluating the attribute 'disabled'
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:402:13:
|
||||
401| collectResults = modules: {
|
||||
402| disabled = concatLists (catAttrs "disabled" modules);
|
||||
| ^
|
||||
403| inherit modules;
|
||||
|
||||
… while calling the 'concatLists' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:402:24:
|
||||
401| collectResults = modules: {
|
||||
402| disabled = concatLists (catAttrs "disabled" modules);
|
||||
| ^
|
||||
403| inherit modules;
|
||||
|
||||
… while evaluating a branch condition
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:413:25:
|
||||
412| modules = collectedImports.modules;
|
||||
413| disabled = (if module.disabledModules != [] then [{ file = module._file; disabled = module.disabledModules; }] else []) ++ collectedImports.disabled;
|
||||
| ^
|
||||
414| }) initialModules);
|
||||
|
||||
… from call site
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:407:22:
|
||||
406| let
|
||||
407| module = checkModule (loadModule args parentFile "${parentKey}:anon-${toString n}" x);
|
||||
| ^
|
||||
408| collectedImports = collectStructuredModules module._file module.key module.imports args;
|
||||
|
||||
… while calling anonymous lambda
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:366:11:
|
||||
365| then
|
||||
366| m:
|
||||
| ^
|
||||
367| if m._class != null -> m._class == class
|
||||
|
||||
… while evaluating a branch condition
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:367:13:
|
||||
366| m:
|
||||
367| if m._class != null -> m._class == class
|
||||
| ^
|
||||
368| then m
|
||||
|
||||
… in the left operand of the IMPL (->) operator
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:367:33:
|
||||
366| m:
|
||||
367| if m._class != null -> m._class == class
|
||||
| ^
|
||||
368| then m
|
||||
|
||||
… from call site
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:407:35:
|
||||
406| let
|
||||
407| module = checkModule (loadModule args parentFile "${parentKey}:anon-${toString n}" x);
|
||||
| ^
|
||||
408| collectedImports = collectStructuredModules module._file module.key module.imports args;
|
||||
|
||||
… while calling 'loadModule'
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:348:53:
|
||||
347| # Like unifyModuleSyntax, but also imports paths and calls functions if necessary
|
||||
348| loadModule = args: fallbackFile: fallbackKey: m:
|
||||
| ^
|
||||
349| if isFunction m then
|
||||
|
||||
… while evaluating a branch condition
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:349:9:
|
||||
348| loadModule = args: fallbackFile: fallbackKey: m:
|
||||
349| if isFunction m then
|
||||
| ^
|
||||
350| unifyModuleSyntax fallbackFile fallbackKey (applyModuleArgs fallbackKey m args)
|
||||
|
||||
… from call site
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:349:12:
|
||||
348| loadModule = args: fallbackFile: fallbackKey: m:
|
||||
349| if isFunction m then
|
||||
| ^
|
||||
350| unifyModuleSyntax fallbackFile fallbackKey (applyModuleArgs fallbackKey m args)
|
||||
|
||||
… while calling 'isFunction'
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/trivial.nix:1000:16:
|
||||
999| */
|
||||
1000| isFunction = f: builtins.isFunction f ||
|
||||
| ^
|
||||
1001| (f ? __functor && isFunction (f.__functor f));
|
||||
|
||||
… in the left operand of the OR (||) operator
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/trivial.nix:1000:41:
|
||||
999| */
|
||||
1000| isFunction = f: builtins.isFunction f ||
|
||||
| ^
|
||||
1001| (f ? __functor && isFunction (f.__functor f));
|
||||
|
||||
… while calling the 'isFunction' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/trivial.nix:1000:19:
|
||||
999| */
|
||||
1000| isFunction = f: builtins.isFunction f ||
|
||||
| ^
|
||||
1001| (f ? __functor && isFunction (f.__functor f));
|
||||
|
||||
… while calling the 'elemAt' builtin
|
||||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/lists.nix:334:43:
|
||||
333| */
|
||||
334| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
|
||||
| ^
|
||||
335|
|
||||
|
||||
… while calling the 'import' builtin
|
||||
at /nix/store/d46k1bziqlp4h2657vc56cmy3llxh4gg-source/homes/me/default.nix:14:7:
|
||||
13| imports = [
|
||||
14| (import ./helix.nix { inherit pkgs; } )
|
||||
| ^
|
||||
15| # inputs.spicetify-nix.homeManagerModules.default
|
||||
|
||||
error: path '/nix/store/d46k1bziqlp4h2657vc56cmy3llxh4gg-source/homes/me/helix.nix' does not exist
|
||||
Loading…
Add table
Add a link
Reference in a new issue