953 lines
44 KiB
Text
953 lines
44 KiB
Text
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 right 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
|
||
|
||
… while evaluating the attribute 'unmatchedDefns'
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:695:7:
|
||
694| # Transforms unmatchedDefnsByName into a list of definitions
|
||
695| unmatchedDefns =
|
||
| ^
|
||
696| if configs == []
|
||
|
||
… while calling the 'concatLists' builtin
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:702:11:
|
||
701| else
|
||
702| concatLists (mapAttrsToList (name: defs:
|
||
| ^
|
||
703| map (def: def // {
|
||
|
||
… 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/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:702:46:
|
||
701| else
|
||
702| concatLists (mapAttrsToList (name: defs:
|
||
| ^
|
||
703| map (def: def // {
|
||
|
||
… while calling the 'map' builtin
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:703:13:
|
||
702| concatLists (mapAttrsToList (name: defs:
|
||
703| map (def: def // {
|
||
| ^
|
||
704| # Set this so we know when the definition first left unmatched territory
|
||
|
||
… 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/modules.nix:688:22:
|
||
687| # Propagate all unmatched definitions from nested option sets
|
||
688| mapAttrs (n: v: v.unmatchedDefns) resultsByName
|
||
| ^
|
||
689| # Plus the definitions for the current prefix that don't have a matching option
|
||
|
||
(16 duplicate frames omitted)
|
||
|
||
… from call site
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:688:25:
|
||
687| # Propagate all unmatched definitions from nested option sets
|
||
688| mapAttrs (n: v: v.unmatchedDefns) resultsByName
|
||
| ^
|
||
689| # Plus the definitions for the current prefix that don't have a matching option
|
||
|
||
… while calling anonymous lambda
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:636:39:
|
||
635|
|
||
636| resultsByName = mapAttrs (name: decls:
|
||
| ^
|
||
637| # We're descending into attribute ‘name’.
|
||
|
||
… while evaluating a branch condition
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:650:11:
|
||
649| in
|
||
650| if length optionDecls == length decls then
|
||
| ^
|
||
651| let opt = fixupOptionType loc (mergeOptionDecls loc decls);
|
||
|
||
… while calling the 'length' builtin
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:650:14:
|
||
649| in
|
||
650| if length optionDecls == length decls then
|
||
| ^
|
||
651| let opt = fixupOptionType loc (mergeOptionDecls loc decls);
|
||
|
||
… while calling the 'filter' builtin
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:642:25:
|
||
641| defns' = rawDefinitionsByName.${name} or [];
|
||
642| optionDecls = filter
|
||
| ^
|
||
643| (m: m.options?_type
|
||
|
||
… while calling anonymous lambda
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:643:14:
|
||
642| optionDecls = filter
|
||
643| (m: m.options?_type
|
||
| ^
|
||
644| && (m.options._type == "option"
|
||
|
||
… in the left operand of the AND (&&) operator
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:644:17:
|
||
643| (m: m.options?_type
|
||
644| && (m.options._type == "option"
|
||
| ^
|
||
645| || throwDeclarationTypeError loc m.options._type m._file
|
||
|
||
… while evaluating the attribute 'options'
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:566:82:
|
||
565| (n: option:
|
||
566| [{ inherit (module) _file; pos = unsafeGetAttrPos n subtree; options = option; }]
|
||
| ^
|
||
567| )
|
||
|
||
… from call site
|
||
at /nix/store/78sgjxjd6p9wns5mriffngcrvxp9sfaa-source/modules/programs/firefox/mkFirefoxModule.nix:317:28:
|
||
316|
|
||
317| nativeMessagingHosts = optionalAttrs (cfg.vendorPath != null) (mkOption {
|
||
| ^
|
||
318| inherit visible;
|
||
|
||
… while calling 'optionalAttrs'
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:1351:5:
|
||
1350| cond:
|
||
1351| as:
|
||
| ^
|
||
1352| if cond then as else {};
|
||
|
||
… while evaluating a branch condition
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:1352:5:
|
||
1351| as:
|
||
1352| if cond then as else {};
|
||
| ^
|
||
1353|
|
||
|
||
… from call site
|
||
at /nix/store/78sgjxjd6p9wns5mriffngcrvxp9sfaa-source/modules/programs/firefox/mkFirefoxModule.nix:317:43:
|
||
316|
|
||
317| nativeMessagingHosts = optionalAttrs (cfg.vendorPath != null) (mkOption {
|
||
| ^
|
||
318| inherit visible;
|
||
|
||
… 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 `home-manager.users.me.programs.firefox.vendorPath':
|
||
|
||
… 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 calling anonymous lambda
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:841:19:
|
||
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 'value._type'
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:942:73:
|
||
941| highestPrio = foldl' (prio: def: min (getPrio def) prio) 9999 defs;
|
||
942| strip = def: if def.value._type or "" == "override" then def // { value = def.value.content; } else def;
|
||
| ^
|
||
943| in {
|
||
|
||
… while evaluating the attribute 'value.content'
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:1023:24:
|
||
1022| { _type = "override";
|
||
1023| inherit priority content;
|
||
| ^
|
||
1024| };
|
||
|
||
… while evaluating the attribute 'default'
|
||
at /nix/store/78sgjxjd6p9wns5mriffngcrvxp9sfaa-source/modules/programs/firefox/mkFirefoxModule.nix:298:7:
|
||
297| type = with types; nullOr str;
|
||
298| default = with platforms;
|
||
| ^
|
||
299| if isDarwin then
|
||
|
||
… while evaluating a branch condition
|
||
at /nix/store/78sgjxjd6p9wns5mriffngcrvxp9sfaa-source/modules/programs/firefox/mkFirefoxModule.nix:299:9:
|
||
298| default = with platforms;
|
||
299| if isDarwin then
|
||
| ^
|
||
300| darwin.vendorPath or null
|
||
|
||
… from call site
|
||
at /nix/store/78sgjxjd6p9wns5mriffngcrvxp9sfaa-source/modules/programs/firefox/mkFirefoxModule.nix:10:12:
|
||
9|
|
||
10| inherit (pkgs.stdenv.hostPlatform) isDarwin;
|
||
| ^
|
||
11|
|
||
|
||
… while calling anonymous lambda
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:513:35:
|
||
512| context = name: ''while evaluating the module argument `${name}' in "${key}":'';
|
||
513| extraArgs = mapAttrs (name: _:
|
||
| ^
|
||
514| addErrorContext (context name)
|
||
|
||
… while evaluating the module argument `pkgs' in "/nix/store/78sgjxjd6p9wns5mriffngcrvxp9sfaa-source/modules/programs/firefox.nix:anon-1":
|
||
|
||
… from call site
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:515:28:
|
||
514| addErrorContext (context name)
|
||
515| (args.${name} or config._module.args.${name})
|
||
| ^
|
||
516| ) (functionArgs f);
|
||
|
||
… while calling anonymous lambda
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/types.nix:601:29:
|
||
600| merge = loc: defs:
|
||
601| zipAttrsWith (name: defs:
|
||
| ^
|
||
602| let merged = mergeDefinitions (loc ++ [name]) elemType defs;
|
||
|
||
… while evaluating the attribute 'optionalValue.value'
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:863:5:
|
||
862|
|
||
863| optionalValue =
|
||
| ^
|
||
864| if isDefined then { value = mergedValue; }
|
||
|
||
… while evaluating a branch condition
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:864:7:
|
||
863| optionalValue =
|
||
864| if isDefined then { value = mergedValue; }
|
||
| ^
|
||
865| else {};
|
||
|
||
(6 duplicate frames omitted)
|
||
|
||
… from call site
|
||
at /nix/store/78sgjxjd6p9wns5mriffngcrvxp9sfaa-source/modules/misc/nixpkgs.nix:43:11:
|
||
42|
|
||
43| _pkgs = import pkgsPath (filterAttrs (n: v: v != null) config.nixpkgs);
|
||
| ^
|
||
44|
|
||
|
||
… from call site
|
||
at /nix/store/78sgjxjd6p9wns5mriffngcrvxp9sfaa-source/modules/misc/nixpkgs.nix:43:28:
|
||
42|
|
||
43| _pkgs = import pkgsPath (filterAttrs (n: v: v != null) config.nixpkgs);
|
||
| ^
|
||
44|
|
||
|
||
… while calling 'filterAttrs'
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:646:5:
|
||
645| pred:
|
||
646| set:
|
||
| ^
|
||
647| removeAttrs set (filter (name: ! pred name set.${name}) (attrNames set));
|
||
|
||
… while calling the 'removeAttrs' builtin
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:647:5:
|
||
646| set:
|
||
647| removeAttrs set (filter (name: ! pred name set.${name}) (attrNames set));
|
||
| ^
|
||
648|
|
||
|
||
… while calling the 'filter' builtin
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:647:22:
|
||
646| set:
|
||
647| removeAttrs set (filter (name: ! pred name set.${name}) (attrNames set));
|
||
| ^
|
||
648|
|
||
|
||
… while calling anonymous lambda
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:647:30:
|
||
646| set:
|
||
647| removeAttrs set (filter (name: ! pred name set.${name}) (attrNames set));
|
||
| ^
|
||
648|
|
||
|
||
… in the argument of the not operator
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:647:38:
|
||
646| set:
|
||
647| removeAttrs set (filter (name: ! pred name set.${name}) (attrNames set));
|
||
| ^
|
||
648|
|
||
|
||
… from call site
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:647:38:
|
||
646| set:
|
||
647| removeAttrs set (filter (name: ! pred name set.${name}) (attrNames set));
|
||
| ^
|
||
648|
|
||
|
||
… while calling anonymous lambda
|
||
at /nix/store/78sgjxjd6p9wns5mriffngcrvxp9sfaa-source/modules/misc/nixpkgs.nix:43:44:
|
||
42|
|
||
43| _pkgs = import pkgsPath (filterAttrs (n: v: v != null) config.nixpkgs);
|
||
| ^
|
||
44|
|
||
|
||
… from call site
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/attrsets.nix:647:48:
|
||
646| set:
|
||
647| removeAttrs set (filter (name: ! pred name set.${name}) (attrNames set));
|
||
| ^
|
||
648|
|
||
|
||
… 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 `home-manager.users.me.nixpkgs.overlays':
|
||
|
||
… 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
|
||
|
||
… 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:739:20:
|
||
738| check = x: x == null || elemType.check x;
|
||
739| merge = loc: defs:
|
||
| ^
|
||
740| let nrNulls = count (def: def.value == null) defs; in
|
||
|
||
… from call site
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/types.nix:744:14:
|
||
743| throw "The option `${showOption loc}` is defined both null and not null, in ${showFiles (getFiles defs)}."
|
||
744| else elemType.merge loc defs;
|
||
| ^
|
||
745| emptyValue = { value = null; };
|
||
|
||
… while calling 'merge'
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/types.nix:545:20:
|
||
544| check = isList;
|
||
545| merge = loc: defs:
|
||
| ^
|
||
546| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def:
|
||
|
||
… while calling the 'map' builtin
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/types.nix:546:9:
|
||
545| merge = loc: defs:
|
||
546| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def:
|
||
| ^
|
||
547| imap1 (m: def':
|
||
|
||
… while calling the 'filter' builtin
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/types.nix:546:27:
|
||
545| merge = loc: defs:
|
||
546| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def:
|
||
| ^
|
||
547| imap1 (m: def':
|
||
|
||
… while calling anonymous lambda
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/types.nix:546:35:
|
||
545| merge = loc: defs:
|
||
546| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def:
|
||
| ^
|
||
547| imap1 (m: def':
|
||
|
||
… from call site
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/types.nix:546:38:
|
||
545| merge = loc: defs:
|
||
546| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def:
|
||
| ^
|
||
547| imap1 (m: def':
|
||
|
||
… while calling anonymous lambda
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/lists.nix:334:29:
|
||
333| */
|
||
334| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
|
||
| ^
|
||
335|
|
||
|
||
… from call site
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/lists.nix:334:32:
|
||
333| */
|
||
334| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
|
||
| ^
|
||
335|
|
||
|
||
… while calling anonymous lambda
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/types.nix:547:21:
|
||
546| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def:
|
||
547| imap1 (m: def':
|
||
| ^
|
||
548| (mergeDefinitions
|
||
|
||
… while evaluating the attribute 'optionalValue'
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:863:5:
|
||
862|
|
||
863| optionalValue =
|
||
| ^
|
||
864| if isDefined then { value = mergedValue; }
|
||
|
||
(9 duplicate frames omitted)
|
||
|
||
… while evaluating definitions from `/nix/store/ngbxcxj87yilwhpb0zzpqhy9jhv14nak-source/hosts/lolcathost':
|
||
|
||
… 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/types.nix:551:38:
|
||
550| elemType
|
||
551| [{ inherit (def) file; value = def'; }]
|
||
| ^
|
||
552| ).optionalValue
|
||
|
||
… 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|
|
||
|
||
… from call site
|
||
at /nix/store/ngbxcxj87yilwhpb0zzpqhy9jhv14nak-source/homes/me/default.nix:12:7:
|
||
11| overlays = [
|
||
12| inputs.hyprpanel.overlay
|
||
| ^
|
||
13| ];
|
||
|
||
… while calling anonymous lambda
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:513:35:
|
||
512| context = name: ''while evaluating the module argument `${name}' in "${key}":'';
|
||
513| extraArgs = mapAttrs (name: _:
|
||
| ^
|
||
514| addErrorContext (context name)
|
||
|
||
… while evaluating the module argument `inputs' in ":anon-7:anon-1":
|
||
|
||
error: attribute 'inputs' missing
|
||
at /nix/store/sh0v21n9zc03b94qjj4jkkg5mbsjkpzr-source/lib/modules.nix:515:28:
|
||
514| addErrorContext (context name)
|
||
515| (args.${name} or config._module.args.${name})
|
||
| ^
|
||
516| ) (functionArgs f);
|