Comments (5)
Can you show please stacktrace with --show-trace
?
from nix.
Sure, here's the output
error:
… while calling anonymous lambda
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1571:24:
1570| let f = attrPath:
1571| zipAttrsWith (n: values:
| ^
1572| let here = attrPath ++ [n]; in
… while calling the 'head' builtin
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1575:11:
1574| || pred here (elemAt values 1) (head values) then
1575| head values
| ^
1576| else
… while calling anonymous lambda
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1205:18:
1204| mapAttrs
1205| (name: value:
| ^
1206| if isAttrs value && cond value
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1208:18:
1207| then recurse (path ++ [ name ]) value
1208| else f (path ++ [ name ]) value);
| ^
1209| in
… while calling anonymous lambda
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:242:72:
241| # For definitions that have an associated option
242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
243|
… while evaluating the attribute 'value'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:809:9:
808| in warnDeprecation opt //
809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
810| inherit (res.defsFinal') highestPrio;
… while evaluating the option `system.build.toplevel':
… while evaluating the attribute 'mergedValue'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:844:5:
843| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
844| mergedValue =
| ^
845| if isDefined then
… while evaluating a branch condition
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:845:7:
844| mergedValue =
845| if isDefined then
| ^
846| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
… while evaluating the attribute 'values'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:838:9:
837| in {
838| values = defs''';
| ^
839| inherit (defs'') highestPrio;
… while evaluating a branch condition
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:834:11:
833| # Avoid sorting if we don't have to.
834| if any (def: def.value._type or "" == "order") defs''.values
| ^
835| then sortProperties defs''.values
… while calling the 'any' builtin
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:834:14:
833| # Avoid sorting if we don't have to.
834| if any (def: def.value._type or "" == "order") defs''.values
| ^
835| then sortProperties defs''.values
… while evaluating the attribute 'values'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:937:7:
936| in {
937| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
| ^
938| inherit highestPrio;
… while calling the 'concatMap' builtin
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:937:16:
936| in {
937| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
| ^
938| inherit highestPrio;
… while calling the 'concatMap' builtin
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:824:17:
823| # Process mkMerge and mkIf properties.
824| defs' = concatMap (m:
| ^
825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… while calling anonymous lambda
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:824:28:
823| # Process mkMerge and mkIf properties.
824| defs' = concatMap (m:
| ^
825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
… while calling the 'map' builtin
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:825:11:
824| defs' = concatMap (m:
825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
826| ) defs;
… while evaluating definitions from `/nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/nixos/modules/system/activation/top-level.nix':
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:825:137:
824| defs' = concatMap (m:
825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
826| ) defs;
… while calling 'dischargeProperties'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:896:25:
895| */
896| dischargeProperties = def:
| ^
897| if def._type or "" == "merge" then
… while evaluating a branch condition
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:897:5:
896| dischargeProperties = def:
897| if def._type or "" == "merge" then
| ^
898| concatMap dischargeProperties def.contents
… while evaluating the attribute 'value'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:607:53:
606| (n: value:
607| [{ inherit (module) file; inherit value; }]
| ^
608| )
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/nixos/modules/system/activation/top-level.nix:71:12:
70| # Replace runtime dependencies
71| system = foldr ({ oldDependency, newDependency }: drv:
| ^
72| pkgs.replaceDependency { inherit oldDependency newDependency drv; }
… while calling 'foldr'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/lists.nix:121:20:
120| */
121| foldr = op: nul: list:
| ^
122| let
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/lists.nix:128:8:
127| else op (elemAt list n) (fold' (n + 1));
128| in fold' 0;
| ^
129|
… while calling 'fold''
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/lists.nix:124:15:
123| len = length list;
124| fold' = n:
| ^
125| if n == len
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/nixos/modules/system/activation/top-level.nix:68:10:
67| then throw "\nFailed assertions:\n${concatStringsSep "\n" (map (x: "- ${x}") failedAssertions)}"
68| else showWarnings config.warnings baseSystem;
| ^
69|
… while calling 'showWarnings'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/trivial.nix:927:28:
926|
927| showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings;
| ^
928|
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/trivial.nix:927:33:
926|
927| showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings;
| ^
928|
… while calling 'foldr'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/lists.nix:121:20:
120| */
121| foldr = op: nul: list:
| ^
122| let
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/lists.nix:128:8:
127| else op (elemAt list n) (fold' (n + 1));
128| in fold' 0;
| ^
129|
… while calling 'fold''
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/lists.nix:124:15:
123| len = length list;
124| fold' = n:
| ^
125| if n == len
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/nixos/modules/system/activation/top-level.nix:48:16:
47| # makes it bootable. See `activatable-system.nix`.
48| baseSystem = pkgs.stdenvNoCC.mkDerivation ({
| ^
49| name = "nixos-system-${config.system.name}-${config.system.nixos.label}";
… while calling 'mkDerivation'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/stdenv/generic/make-derivation.nix:46:5:
45| mkDerivation =
46| fnOrAttrs:
| ^
47| if builtins.isFunction fnOrAttrs
… while evaluating a branch condition
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/stdenv/generic/make-derivation.nix:47:7:
46| fnOrAttrs:
47| if builtins.isFunction fnOrAttrs
| ^
48| then makeDerivationExtensible fnOrAttrs
… while calling the 'isFunction' builtin
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/pkgs/stdenv/generic/make-derivation.nix:47:10:
46| fnOrAttrs:
47| if builtins.isFunction fnOrAttrs
| ^
48| then makeDerivationExtensible fnOrAttrs
… in the right operand of the update (//) operator
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/nixos/modules/system/activation/top-level.nix:60:5:
59| inherit (config.system) extraDependencies;
60| } // config.system.systemBuilderArgs);
| ^
61|
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/nixos/modules/system/activation/top-level.nix:60:8:
59| inherit (config.system) extraDependencies;
60| } // config.system.systemBuilderArgs);
| ^
61|
… while calling anonymous lambda
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1205:18:
1204| mapAttrs
1205| (name: value:
| ^
1206| if isAttrs value && cond value
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1208:18:
1207| then recurse (path ++ [ name ]) value
1208| else f (path ++ [ name ]) value);
| ^
1209| in
… while calling anonymous lambda
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:242:72:
241| # For definitions that have an associated option
242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
243|
… while evaluating the attribute 'value'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:809:9:
808| in warnDeprecation opt //
809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
810| inherit (res.defsFinal') highestPrio;
… while evaluating the option `system.systemBuilderArgs':
… while evaluating the attribute 'mergedValue'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:844:5:
843| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
844| mergedValue =
| ^
845| if isDefined then
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:846:59:
845| if isDefined then
846| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
| ^
847| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
… while calling 'merge'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/types.nix:582:20:
581| check = isAttrs;
582| merge = loc: defs:
| ^
583| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
… while calling the 'mapAttrs' builtin
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/types.nix:583:9:
582| merge = loc: defs:
583| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
| ^
584| (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/types.nix:583:35:
582| merge = loc: defs:
583| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
| ^
584| (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue
… while calling 'filterAttrs'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:646:5:
645| pred:
646| set:
| ^
647| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
… while calling the 'listToAttrs' builtin
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:647:5:
646| set:
647| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
| ^
648|
… while calling the 'concatMap' builtin
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:647:18:
646| set:
647| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
| ^
648|
… while calling anonymous lambda
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:647:29:
646| set:
647| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
| ^
648|
… while evaluating a branch condition
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:647:59:
646| set:
647| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
| ^
648|
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:647:62:
646| set:
647| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
| ^
648|
… while calling anonymous lambda
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/types.nix:583:51:
582| merge = loc: defs:
583| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
| ^
584| (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:647:43:
646| set:
647| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
| ^
648|
… while calling anonymous lambda
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/types.nix:583:86:
582| merge = loc: defs:
583| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
| ^
584| (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue
… while evaluating the attribute 'optionalValue'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:856:5:
855|
856| optionalValue =
| ^
857| if isDefined then { value = mergedValue; }
… while evaluating a branch condition
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:857:7:
856| optionalValue =
857| if isDefined then { value = mergedValue; }
| ^
858| else {};
(8 duplicate frames omitted)
… while evaluating definitions from `/nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/nixos/modules/system/boot/kernel.nix':
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:825:137:
824| defs' = concatMap (m:
825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
826| ) defs;
… while calling 'dischargeProperties'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:896:25:
895| */
896| dischargeProperties = def:
| ^
897| if def._type or "" == "merge" then
… while evaluating a branch condition
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:897:5:
896| dischargeProperties = def:
897| if def._type or "" == "merge" then
| ^
898| concatMap dischargeProperties def.contents
… while evaluating the attribute 'value'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/types.nix:587:60:
586| # Push down position info.
587| (map (def: mapAttrs (n: v: { inherit (def) file; value = v; }) def.value) defs)));
| ^
588| emptyValue = { value = {}; };
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/nixos/modules/system/boot/kernel.nix:328:49:
327| # They boot directly into stage 2.
328| system.systemBuilderArgs.kernelParams = config.boot.kernelParams;
| ^
329| system.systemBuilderCommands =
… while calling anonymous lambda
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1205:18:
1204| mapAttrs
1205| (name: value:
| ^
1206| if isAttrs value && cond value
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1208:18:
1207| then recurse (path ++ [ name ]) value
1208| else f (path ++ [ name ]) value);
| ^
1209| in
… while calling anonymous lambda
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:242:72:
241| # For definitions that have an associated option
242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
243|
… while evaluating the attribute 'value'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:809:9:
808| in warnDeprecation opt //
809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
810| inherit (res.defsFinal') highestPrio;
… while evaluating the option `boot.kernelParams':
(10 duplicate frames omitted)
… while evaluating definitions from `/nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/nixos/modules/config/console.nix':
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:825:137:
824| defs' = concatMap (m:
825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
826| ) defs;
… while calling 'dischargeProperties'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:896:25:
895| */
896| dischargeProperties = def:
| ^
897| if def._type or "" == "merge" then
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:902:11:
901| if def.condition then
902| dischargeProperties def.content
| ^
903| else
… while calling 'dischargeProperties'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:896:25:
895| */
896| dischargeProperties = def:
| ^
897| if def._type or "" == "merge" then
… while evaluating a branch condition
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:900:7:
899| else if def._type or "" == "if" then
900| if isBool def.condition then
| ^
901| if def.condition then
… while calling the 'isBool' builtin
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:900:10:
899| else if def._type or "" == "if" then
900| if isBool def.condition then
| ^
901| if def.condition then
… while evaluating the attribute 'condition'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:1001:15:
1000| { _type = "if";
1001| inherit condition content;
| ^
1002| };
… while evaluating the attribute 'condition'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:1001:15:
1000| { _type = "if";
1001| inherit condition content;
| ^
1002| };
… while evaluating the attribute 'condition'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:1001:15:
1000| { _type = "if";
1001| inherit condition content;
| ^
1002| };
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/nixos/modules/config/console.nix:198:14:
197|
198| (mkIf (cfg.colors != []) {
| ^
199| boot.kernelParams = [
… while calling anonymous lambda
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1205:18:
1204| mapAttrs
1205| (name: value:
| ^
1206| if isAttrs value && cond value
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1208:18:
1207| then recurse (path ++ [ name ]) value
1208| else f (path ++ [ name ]) value);
| ^
1209| in
… while calling anonymous lambda
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:242:72:
241| # For definitions that have an associated option
242| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
| ^
243|
… while evaluating the attribute 'value'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:809:9:
808| in warnDeprecation opt //
809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
810| inherit (res.defsFinal') highestPrio;
… while evaluating the option `console.colors':
… while evaluating the attribute 'mergedValue'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:844:5:
843| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
844| mergedValue =
| ^
845| if isDefined then
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:846:59:
845| if isDefined then
846| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
| ^
847| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
… while calling 'merge'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/types.nix:551:20:
550| check = isList;
551| merge = loc: defs:
| ^
552| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def:
… while calling the 'map' builtin
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/types.nix:552:9:
551| merge = loc: defs:
552| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def:
| ^
553| imap1 (m: def':
… while calling the 'filter' builtin
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/types.nix:552:27:
551| merge = loc: defs:
552| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def:
| ^
553| imap1 (m: def':
… while calling anonymous lambda
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/types.nix:552:35:
551| merge = loc: defs:
552| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def:
| ^
553| imap1 (m: def':
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/types.nix:552:38:
551| merge = loc: defs:
552| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def:
| ^
553| imap1 (m: def':
… while calling anonymous lambda
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-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/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-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/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/types.nix:553:21:
552| map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def:
553| imap1 (m: def':
| ^
554| (mergeDefinitions
(10 duplicate frames omitted)
… while evaluating definitions from `/nix/store/skr79iy83633p2pmrvk71sykvkxczps2-source/modules/nixos/console.nix':
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:825:137:
824| defs' = concatMap (m:
825| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
| ^
826| ) defs;
… while calling 'dischargeProperties'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:896:25:
895| */
896| dischargeProperties = def:
| ^
897| if def._type or "" == "merge" then
… while evaluating a branch condition
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/modules.nix:897:5:
896| dischargeProperties = def:
897| if def._type or "" == "merge" then
| ^
898| concatMap dischargeProperties def.contents
… while evaluating the attribute 'value'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/types.nix:557:38:
556| elemType
557| [{ inherit (def) file; value = def'; }]
| ^
558| ).optionalValue
… while calling the 'elemAt' builtin
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/lists.nix:334:43:
333| */
334| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
| ^
335|
… while calling anonymous lambda
at /nix/store/skr79iy83633p2pmrvk71sykvkxczps2-source/modules/nixos/console.nix:14:10:
13| # Make sure to strip initial # from hex codes
14| map (color: (builtins.substring 1 6 palette.${color}.hex)) [
| ^
15| "base"
… while calling the 'substring' builtin
at /nix/store/skr79iy83633p2pmrvk71sykvkxczps2-source/modules/nixos/console.nix:14:18:
13| # Make sure to strip initial # from hex codes
14| map (color: (builtins.substring 1 6 palette.${color}.hex)) [
| ^
15| "base"
… from call site
at /nix/store/skr79iy83633p2pmrvk71sykvkxczps2-source/modules/nixos/console.nix:6:14:
5| enable = cfg.enable && config.console.enable;
6| palette = (lib.importJSON "${sources.palette}/palette.json").${cfg.flavor}.colors;
| ^
7| in
… while calling 'importJSON'
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/trivial.nix:670:16:
669| */
670| importJSON = path:
| ^
671| builtins.fromJSON (builtins.readFile path);
… while calling the 'fromJSON' builtin
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/trivial.nix:671:5:
670| importJSON = path:
671| builtins.fromJSON (builtins.readFile path);
| ^
672|
… while evaluating the first argument passed to builtins.fromJSON
… while calling the 'readFile' builtin
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/trivial.nix:671:24:
670| importJSON = path:
671| builtins.fromJSON (builtins.readFile path);
| ^
672|
… while realising the context of a path
… from call site
at /nix/store/skr79iy83633p2pmrvk71sykvkxczps2-source/modules/nixos/console.nix:6:30:
5| enable = cfg.enable && config.console.enable;
6| palette = (lib.importJSON "${sources.palette}/palette.json").${cfg.flavor}.colors;
| ^
7| in
… while calling anonymous lambda
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1571:24:
1570| let f = attrPath:
1571| zipAttrsWith (n: values:
| ^
1572| let here = attrPath ++ [n]; in
… while evaluating a branch condition
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1573:9:
1572| let here = attrPath ++ [n]; in
1573| if length values == 1
| ^
1574| || pred here (elemAt values 1) (head values) then
… in the right operand of the OR (||) operator
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1574:9:
1573| if length values == 1
1574| || pred here (elemAt values 1) (head values) then
| ^
1575| head values
… from call site
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1574:12:
1573| if length values == 1
1574| || pred here (elemAt values 1) (head values) then
| ^
1575| head values
… while calling anonymous lambda
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1628:38:
1627| rhs:
1628| recursiveUpdateUntil (path: lhs: rhs: !(isAttrs lhs && isAttrs rhs)) lhs rhs;
| ^
1629|
… in the argument of the not operator
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1628:57:
1627| rhs:
1628| recursiveUpdateUntil (path: lhs: rhs: !(isAttrs lhs && isAttrs rhs)) lhs rhs;
| ^
1629|
… in the left operand of the AND (&&) operator
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1628:57:
1627| rhs:
1628| recursiveUpdateUntil (path: lhs: rhs: !(isAttrs lhs && isAttrs rhs)) lhs rhs;
| ^
1629|
… while calling the 'isAttrs' builtin
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1628:45:
1627| rhs:
1628| recursiveUpdateUntil (path: lhs: rhs: !(isAttrs lhs && isAttrs rhs)) lhs rhs;
| ^
1629|
… while calling the 'elemAt' builtin
at /nix/store/dk2rpyb6ndvfbf19bkb2plcz5y3k8i5v-source/lib/attrsets.nix:1574:23:
1573| if length values == 1
1574| || pred here (elemAt values 1) (head values) then
| ^
1575| head values
… from call site
at /nix/store/skr79iy83633p2pmrvk71sykvkxczps2-source/.sources/default.nix:12:11:
11| if spec.type == "Git" then
12| mkGitSource spec
| ^
13| else if spec.type == "GitRelease" then
… while calling 'mkGitSource'
at /nix/store/skr79iy83633p2pmrvk71sykvkxczps2-source/.sources/default.nix:25:5:
24| mkGitSource =
25| {
| ^
26| repository,
… while calling the 'fetchTarball' builtin
at /nix/store/skr79iy83633p2pmrvk71sykvkxczps2-source/.sources/default.nix:36:8:
35| if url != null then
36| (builtins.fetchTarball {
| ^
37| inherit url;
error: Failed to open archive (Unrecognized archive format)
from nix.
Cannot reproduce it
nix-repl> "${outputs.nixosConfigurations.perchun-pc.config.catppuccin.sources.palette}"
"/nix/store/4r5dkmxpf7z122vh554ry4wa9bax3a0r-source"
Can you try nix-store --verify --check-contents --repair
? (You would probably want to run GC before, as it might take a while)
from nix.
Yeah, that was the first thing I tried before open this issue. But I'll try that again later today.
from nix.
Finally I got this sorted by remove catppuccin completely from flake then rebuild and run GC. After that re added cattppuccin back to flake and it built successfully.
from nix.
Related Issues (20)
- Hyprcursor theme is set to "MyCursor" HOT 12
- Overriding catppuccin flavor for individual hm modules HOT 3
- Maintain our own derivations of ports where necessary
- Is it possible to change the underlying theme colors? HOT 4
- Broken link in readme
- transparent_background and other options for catppuccin/nvim HOT 1
- Catppuccin options don't exist HOT 2
- Importing Home Manager creates a conflicts with Hyprland (even disabled) HOT 4
- GTK theme is not applied using home-manager HOT 1
- yambar support HOT 2
- bug: `ctp.kvantum` does not allow `qt.platformTheme.name = qtct`
- Global enable doesn't work for GTK HOT 3
- Ports for other home-manager modules HOT 1
- How to increase size of rofi window?
- Expose color palettes as attr sets in top level module HOT 3
- [Qt] Setting QT_STYLE_OVERRIDE breaks QML apps
- IFD at all
- mpv: add uosc
- Inconsistent scale in applications
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nix.