Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- error: value is a function while a set was expected
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/types.nix:617:32:
- 616| description = "${t1.description} or ${t2.description}";
- 617| check = x: t1.check x || t2.check x;
- | ^
- 618| merge = loc: defs:
- … while evaluating 'check'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/types.nix:617:15:
- 616| description = "${t1.description} or ${t2.description}";
- 617| check = x: t1.check x || t2.check x;
- | ^
- 618| merge = loc: defs:
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/types.nix:617:18:
- 616| description = "${t1.description} or ${t2.description}";
- 617| check = x: t1.check x || t2.check x;
- | ^
- 618| merge = loc: defs:
- … while evaluating 'check'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/types.nix:617:15:
- 616| description = "${t1.description} or ${t2.description}";
- 617| check = x: t1.check x || t2.check x;
- | ^
- 618| merge = loc: defs:
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:619:22:
- 618| if isDefined then
- 619| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
- | ^
- 620| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
- … while evaluating anonymous lambda
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:619:17:
- 618| if isDefined then
- 619| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
- | ^
- 620| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:619:12:
- 618| if isDefined then
- 619| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
- | ^
- 620| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
- … while evaluating the attribute 'mergedValue'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:617:5:
- 616| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
- 617| mergedValue =
- | ^
- 618| if isDefined then
- … while evaluating the option `environment.wordlist.lists.[definition 1-entry 1].source':
- … while evaluating the attribute 'value'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:585:9:
- 584| in warnDeprecation opt //
- 585| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
- | ^
- 586| inherit (res.defsFinal') highestPrio;
- … while evaluating anonymous lambda
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:171:72:
- 170| # For definitions that have an associated option
- 171| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
- | ^
- 172|
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:304:20:
- 303| then recurse (path ++ [name]) value
- 304| else f (path ++ [name]) value;
- | ^
- 305| in mapAttrs g set;
- … while evaluating 'g'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:301:19:
- 300| g =
- 301| name: value:
- | ^
- 302| if isAttrs value && cond value
- … from call site
- … while evaluating 'processSource'
- at /nix/store/gkx77r9q3kk2nfc0yadkdd7ip5wnkwj7-source/wordlist.nix:7:23:
- 6| # wordlist constructed from the various paths and strings.
- 7| processSource = name: source:
- | ^
- 8| if builtins.typeOf source == "string"
- … from call site
- at /nix/store/gkx77r9q3kk2nfc0yadkdd7ip5wnkwj7-source/wordlist.nix:110:29:
- 109| attrs // {
- 110| "${x.envVar}" = processSource "wordlist-${x.envVar}" x.source;
- | ^
- 111| }
- … while evaluating the attribute 'value'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/types.nix:404:60:
- 403| # Push down position info.
- 404| (map (def: mapAttrs (n: v: { inherit (def) file; value = v; }) def.value) defs)));
- | ^
- 405| emptyValue = { value = {}; };
- … while evaluating 'dischargeProperties'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:669:25:
- 668| */
- 669| dischargeProperties = def:
- | ^
- 670| if def._type or "" == "merge" then
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:598:137:
- 597| defs' = concatMap (m:
- 598| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
- | ^
- 599| ) defs;
- … while evaluating definitions from `/nix/store/gkx77r9q3kk2nfc0yadkdd7ip5wnkwj7-source/wordlist.nix':
- … while evaluating anonymous lambda
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:597:28:
- 596| # Process mkMerge and mkIf properties.
- 597| defs' = concatMap (m:
- | ^
- 598| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:597:17:
- 596| # Process mkMerge and mkIf properties.
- 597| defs' = concatMap (m:
- | ^
- 598| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
- … while evaluating the attribute 'values'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:710:7:
- 709| in {
- 710| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
- | ^
- 711| inherit highestPrio;
- … while evaluating the attribute 'values'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:611:9:
- 610| in {
- 611| values = defs''';
- | ^
- 612| inherit (defs'') highestPrio;
- … while evaluating the attribute 'optionalValue'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:629:5:
- 628|
- 629| optionalValue =
- | ^
- 630| if isDefined then { value = mergedValue; }
- … while evaluating anonymous lambda
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/types.nix:400:86:
- 399| merge = loc: defs:
- 400| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
- | ^
- 401| (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:369:15:
- 368| inherit name;
- 369| value = f name (catAttrs name sets);
- | ^
- 370| }) names);
- … while evaluating the attribute 'AUGMENTED_WORDLIST'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:369:7:
- 368| inherit name;
- 369| value = f name (catAttrs name sets);
- | ^
- 370| }) names);
- … while evaluating anonymous lambda
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/types.nix:400:51:
- 399| merge = loc: defs:
- 400| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
- | ^
- 401| (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:128:62:
- 127| filterAttrs = pred: set:
- 128| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
- | ^
- 129|
- … while evaluating anonymous lambda
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:128:29:
- 127| filterAttrs = pred: set:
- 128| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
- | ^
- 129|
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:128:18:
- 127| filterAttrs = pred: set:
- 128| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
- | ^
- 129|
- … while evaluating 'filterAttrs'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:127:23:
- 126| */
- 127| filterAttrs = pred: set:
- | ^
- 128| listToAttrs (concatMap (name: let v = set.${name}; in if pred name v then [(nameValuePair name v)] else []) (attrNames set));
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/types.nix:400:35:
- 399| merge = loc: defs:
- 400| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
- | ^
- 401| (mergeDefinitions (loc ++ [name]) elemType defs).optionalValue
- … while evaluating 'merge'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/types.nix:399:20:
- 398| check = isAttrs;
- 399| merge = loc: defs:
- | ^
- 400| mapAttrs (n: v: v.value) (filterAttrs (n: v: v ? value) (zipAttrsWith (name: defs:
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:619:59:
- 618| if isDefined then
- 619| if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
- | ^
- 620| else let allInvalid = filter (def: ! type.check def.value) defsFinal;
- … while evaluating the attribute 'mergedValue'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:617:5:
- 616| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
- 617| mergedValue =
- | ^
- 618| if isDefined then
- … while evaluating the option `environment.variables':
- … while evaluating the attribute 'value'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:585:9:
- 584| in warnDeprecation opt //
- 585| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
- | ^
- 586| inherit (res.defsFinal') highestPrio;
- … while evaluating anonymous lambda
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:171:72:
- 170| # For definitions that have an associated option
- 171| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
- | ^
- 172|
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:304:20:
- 303| then recurse (path ++ [name]) value
- 304| else f (path ++ [name]) value;
- | ^
- 305| in mapAttrs g set;
- … while evaluating 'g'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:301:19:
- 300| g =
- 301| name: value:
- | ^
- 302| if isAttrs value && cond value
- … from call site
- … while evaluating 'zipAttrsWithNames'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:366:33:
- 365| */
- 366| zipAttrsWithNames = names: f: sets:
- | ^
- 367| listToAttrs (map (name: {
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:381:27:
- 380| */
- 381| zipAttrsWith = f: sets: zipAttrsWithNames (concatMap attrNames sets) f sets;
- | ^
- 382| /* Like `zipAttrsWith' with `(name: values: values)' as the function.
- … while evaluating 'zipAttrsWith'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:381:21:
- 380| */
- 381| zipAttrsWith = f: sets: zipAttrsWithNames (concatMap attrNames sets) f sets;
- | ^
- 382| /* Like `zipAttrsWith' with `(name: values: values)' as the function.
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/config/shells-environment.nix:23:9:
- 22| allVariables =
- 23| zipAttrsWith (n: concatLists) [ absoluteVariables suffixedVariables ];
- | ^
- 24|
- … while evaluating 'mapAttrsToList'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:258:23:
- 257| */
- 258| mapAttrsToList = f: attrs:
- | ^
- 259| map (name: f name attrs.${name}) (attrNames attrs);
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/config/shells-environment.nix:26:9:
- 25| exportVariables =
- 26| mapAttrsToList (n: v: ''export ${n}="${concatStringsSep ":" v}"'') allVariables;
- | ^
- 27| in
- … while evaluating the attribute 'text' of the derivation 'set-environment'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/pkgs/stdenv/generic/make-derivation.nix:205:7:
- 204| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
- 205| name =
- | ^
- 206| let
- … while evaluating the attribute 'value'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:452:44:
- 451| defnsByName' = byName "config" (module: value:
- 452| [{ inherit (module) file; inherit value; }]
- | ^
- 453| ) configs;
- … while evaluating 'dischargeProperties'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:669:25:
- 668| */
- 669| dischargeProperties = def:
- | ^
- 670| if def._type or "" == "merge" then
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:598:137:
- 597| defs' = concatMap (m:
- 598| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
- | ^
- 599| ) defs;
- … while evaluating definitions from `/nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/programs/bash/bash.nix':
- … while evaluating anonymous lambda
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:597:28:
- 596| # Process mkMerge and mkIf properties.
- 597| defs' = concatMap (m:
- | ^
- 598| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:597:17:
- 596| # Process mkMerge and mkIf properties.
- 597| defs' = concatMap (m:
- | ^
- 598| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
- … while evaluating the attribute 'values'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:710:7:
- 709| in {
- 710| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
- | ^
- 711| inherit highestPrio;
- … while evaluating the attribute 'values'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:611:9:
- 610| in {
- 611| values = defs''';
- | ^
- 612| inherit (defs'') highestPrio;
- … while evaluating the attribute 'mergedValue'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:617:5:
- 616| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
- 617| mergedValue =
- | ^
- 618| if isDefined then
- … while evaluating the option `programs.bash.shellInit':
- … while evaluating the attribute 'value'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:585:9:
- 584| in warnDeprecation opt //
- 585| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
- | ^
- 586| inherit (res.defsFinal') highestPrio;
- … while evaluating anonymous lambda
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:171:72:
- 170| # For definitions that have an associated option
- 171| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
- | ^
- 172|
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:304:20:
- 303| then recurse (path ++ [name]) value
- 304| else f (path ++ [name]) value;
- | ^
- 305| in mapAttrs g set;
- … while evaluating 'g'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:301:19:
- 300| g =
- 301| name: value:
- | ^
- 302| if isAttrs value && cond value
- … from call site
- … while evaluating the attribute 'value'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:452:44:
- 451| defnsByName' = byName "config" (module: value:
- 452| [{ inherit (module) file; inherit value; }]
- | ^
- 453| ) configs;
- … while evaluating 'dischargeProperties'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:669:25:
- 668| */
- 669| dischargeProperties = def:
- | ^
- 670| if def._type or "" == "merge" then
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:598:137:
- 597| defs' = concatMap (m:
- 598| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
- | ^
- 599| ) defs;
- … while evaluating definitions from `/nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/programs/bash/bash.nix':
- … while evaluating anonymous lambda
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:597:28:
- 596| # Process mkMerge and mkIf properties.
- 597| defs' = concatMap (m:
- | ^
- 598| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:597:17:
- 596| # Process mkMerge and mkIf properties.
- 597| defs' = concatMap (m:
- | ^
- 598| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
- … while evaluating the attribute 'values'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:710:7:
- 709| in {
- 710| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
- | ^
- 711| inherit highestPrio;
- … while evaluating the attribute 'values'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:611:9:
- 610| in {
- 611| values = defs''';
- | ^
- 612| inherit (defs'') highestPrio;
- … while evaluating the attribute 'mergedValue'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:617:5:
- 616| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
- 617| mergedValue =
- | ^
- 618| if isDefined then
- … while evaluating the option `environment.etc.profile.text':
- … while evaluating the attribute 'value'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:585:9:
- 584| in warnDeprecation opt //
- 585| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
- | ^
- 586| inherit (res.defsFinal') highestPrio;
- … while evaluating anonymous lambda
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:171:72:
- 170| # For definitions that have an associated option
- 171| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
- | ^
- 172|
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:304:20:
- 303| then recurse (path ++ [name]) value
- 304| else f (path ++ [name]) value;
- | ^
- 305| in mapAttrs g set;
- … while evaluating 'g'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:301:19:
- 300| g =
- 301| name: value:
- | ^
- 302| if isAttrs value && cond value
- … from call site
- … while evaluating the attribute 'condition'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:753:14:
- 752| { _type = "if";
- 753| inherit condition content;
- | ^
- 754| };
- … while evaluating 'dischargeProperties'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:669:25:
- 668| */
- 669| dischargeProperties = def:
- | ^
- 670| if def._type or "" == "merge" then
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:598:137:
- 597| defs' = concatMap (m:
- 598| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
- | ^
- 599| ) defs;
- … while evaluating definitions from `/nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/system/etc/etc.nix':
- … while evaluating anonymous lambda
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:597:28:
- 596| # Process mkMerge and mkIf properties.
- 597| defs' = concatMap (m:
- | ^
- 598| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:597:17:
- 596| # Process mkMerge and mkIf properties.
- 597| defs' = concatMap (m:
- | ^
- 598| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
- … while evaluating the attribute 'values'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:710:7:
- 709| in {
- 710| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
- | ^
- 711| inherit highestPrio;
- … while evaluating the attribute 'values'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:611:9:
- 610| in {
- 611| values = defs''';
- | ^
- 612| inherit (defs'') highestPrio;
- … while evaluating the attribute 'mergedValue'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:617:5:
- 616| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
- 617| mergedValue =
- | ^
- 618| if isDefined then
- … while evaluating the option `environment.etc.profile.source':
- … while evaluating the attribute 'value'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:585:9:
- 584| in warnDeprecation opt //
- 585| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
- | ^
- 586| inherit (res.defsFinal') highestPrio;
- … while evaluating anonymous lambda
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:171:72:
- 170| # For definitions that have an associated option
- 171| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
- | ^
- 172|
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:304:20:
- 303| then recurse (path ++ [name]) value
- 304| else f (path ++ [name]) value;
- | ^
- 305| in mapAttrs g set;
- … while evaluating 'g'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:301:19:
- 300| g =
- 301| name: value:
- | ^
- 302| if isAttrs value && cond value
- … from call site
- … while evaluating 'escapeShellArg'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/strings.nix:318:20:
- 317| */
- 318| escapeShellArg = arg: "'${replaceStrings ["'"] ["'\\''"] (toString arg)}'";
- | ^
- 319|
- … from call site
- … while evaluating 'concatMapStringsSep'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/strings.nix:110:5:
- 109| # List of input strings
- 110| list: concatStringsSep sep (map f list);
- | ^
- 111|
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/system/etc/etc.nix:54:43:
- 53| mkdir -p "$out/etc"
- 54| ${concatMapStringsSep "\n" (etcEntry: escapeShellArgs [
- | ^
- 55| "makeEtcEntry"
- … while evaluating anonymous lambda
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/system/etc/etc.nix:54:33:
- 53| mkdir -p "$out/etc"
- 54| ${concatMapStringsSep "\n" (etcEntry: escapeShellArgs [
- | ^
- 55| "makeEtcEntry"
- … from call site
- … while evaluating 'concatMapStringsSep'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/strings.nix:110:5:
- 109| # List of input strings
- 110| list: concatStringsSep sep (map f list);
- | ^
- 111|
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/system/etc/etc.nix:54:7:
- 53| mkdir -p "$out/etc"
- 54| ${concatMapStringsSep "\n" (etcEntry: escapeShellArgs [
- | ^
- 55| "makeEtcEntry"
- … while evaluating the attribute 'buildCommand' of the derivation 'etc'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/pkgs/stdenv/generic/make-derivation.nix:205:7:
- 204| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
- 205| name =
- | ^
- 206| let
- … while evaluating the attribute 'value'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:452:44:
- 451| defnsByName' = byName "config" (module: value:
- 452| [{ inherit (module) file; inherit value; }]
- | ^
- 453| ) configs;
- … while evaluating 'dischargeProperties'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:669:25:
- 668| */
- 669| dischargeProperties = def:
- | ^
- 670| if def._type or "" == "merge" then
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:598:137:
- 597| defs' = concatMap (m:
- 598| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
- | ^
- 599| ) defs;
- … while evaluating definitions from `/nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/system/etc/etc.nix':
- … while evaluating anonymous lambda
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:597:28:
- 596| # Process mkMerge and mkIf properties.
- 597| defs' = concatMap (m:
- | ^
- 598| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:597:17:
- 596| # Process mkMerge and mkIf properties.
- 597| defs' = concatMap (m:
- | ^
- 598| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
- … while evaluating the attribute 'values'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:710:7:
- 709| in {
- 710| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
- | ^
- 711| inherit highestPrio;
- … while evaluating the attribute 'values'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:611:9:
- 610| in {
- 611| values = defs''';
- | ^
- 612| inherit (defs'') highestPrio;
- … while evaluating the attribute 'mergedValue'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:617:5:
- 616| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
- 617| mergedValue =
- | ^
- 618| if isDefined then
- … while evaluating the option `system.activationScripts.etc.text':
- … while evaluating the attribute 'value'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:585:9:
- 584| in warnDeprecation opt //
- 585| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
- | ^
- 586| inherit (res.defsFinal') highestPrio;
- … while evaluating anonymous lambda
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/modules.nix:171:72:
- 170| # For definitions that have an associated option
- 171| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
- | ^
- 172|
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:304:20:
- 303| then recurse (path ++ [name]) value
- 304| else f (path ++ [name]) value;
- | ^
- 305| in mapAttrs g set;
- … while evaluating 'g'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/attrsets.nix:301:19:
- 300| g =
- 301| name: value:
- | ^
- 302| if isAttrs value && cond value
- … from call site
- … while evaluating the attribute 'text'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/system/activation/activation-script.nix:9:5:
- 8| addAttributeName = mapAttrs (a: v: v // {
- 9| text = ''
- | ^
- 10| #### Activation script snippet ${a}:
- … while evaluating 'id'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/trivial.nix:14:5:
- 13| # The value to return
- 14| x: x;
- | ^
- 15|
- … from call site
- … while evaluating 'textClosureMap'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/lib/strings-with-deps.nix:75:35:
- 74|
- 75| textClosureMap = f: predefined: names:
- | ^
- 76| concatStringsSep "\n" (map f (textClosureList predefined names));
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/system/activation/activation-script.nix:49:9:
- 48|
- 49| ${textClosureMap id (withDrySnippets) (attrNames withDrySnippets)}
- | ^
- 50|
- … while evaluating 'systemActivationScript'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/system/activation/activation-script.nix:20:33:
- 19|
- 20| systemActivationScript = set: onlyDry: let
- | ^
- 21| set' = mapAttrs (_: v: if isString v then (noDepEntry v) // { supportsDryActivation = false; } else v) set;
- … from call site
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/system/activation/activation-script.nix:136:18:
- 135| apply = set: set // {
- 136| script = systemActivationScript set false;
- | ^
- 137| };
- … while evaluating the attribute 'system.activationScripts.script'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/nixos/modules/system/activation/activation-script.nix:136:9:
- 135| apply = set: set // {
- 136| script = systemActivationScript set false;
- | ^
- 137| };
- … while evaluating the attribute 'activationScript' of the derivation 'nixos-system-abraxas-21.11.20220111.386234e'
- at /nix/store/nd91gpdz8wf7y82a55v7l3sj0lqdrmaz-source/pkgs/stdenv/generic/make-derivation.nix:205:7:
- 204| // (lib.optionalAttrs (attrs ? name || (attrs ? pname && attrs ? version)) {
- 205| name =
- | ^
- 206| let
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement