Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- warning: Git tree '/etc/nixos' is dirty
- error: infinite recursion encountered
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/types.nix:461:58:
- 460| # Push down position info.
- 461| (map (def: mapAttrs (n: v: { inherit (def) file; value = v; }) def.value) defs);
- | ^
- 462| emptyValue = { value = {}; };
- … while evaluating the attribute 'value'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/types.nix:461:58:
- 460| # Push down position info.
- 461| (map (def: mapAttrs (n: v: { inherit (def) file; value = v; }) def.value) defs);
- | ^
- 462| emptyValue = { value = {}; };
- … while evaluating 'dischargeProperties'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:832:25:
- 831| */
- 832| dischargeProperties = def:
- | ^
- 833| if def._type or "" == "merge" then
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:761:137:
- 760| defs' = concatMap (m:
- 761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
- | ^
- 762| ) defs;
- … while evaluating definitions from `/nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/nixos/modules/misc/nixpkgs.nix':
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:760:28:
- 759| # Process mkMerge and mkIf properties.
- 760| defs' = concatMap (m:
- | ^
- 761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:760:17:
- 759| # Process mkMerge and mkIf properties.
- 760| defs' = concatMap (m:
- | ^
- 761| 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/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:873:7:
- 872| in {
- 873| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
- | ^
- 874| inherit highestPrio;
- … while evaluating the attribute 'values'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:774:9:
- 773| in {
- 774| values = defs''';
- | ^
- 775| inherit (defs'') highestPrio;
- … while evaluating the attribute 'optionalValue.value'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:792:5:
- 791|
- 792| optionalValue =
- | ^
- 793| if isDefined then { value = mergedValue; }
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/types.nix:455:29:
- 454| merge = loc: defs:
- 455| zipAttrsWith (name: defs:
- | ^
- 456| let merged = mergeDefinitions (loc ++ [name]) elemType defs;
- … from call site
- … while evaluating the module argument `pkgs' in "/nix/store/dchv8c5dnpgpn6xmaiimbvj85z1hp7bv-source/modules/nixos/desktop":
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:494:44:
- 493| context = name: ''while evaluating the module argument `${name}' in "${key}":'';
- 494| extraArgs = builtins.mapAttrs (name: _:
- | ^
- 495| builtins.addErrorContext (context name)
- … from call site
- … while evaluating the attribute 'options'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:573:38:
- 572| declsByName = byName "options" (module: option:
- 573| [{ inherit (module) _file; options = option; }]
- | ^
- 574| ) options;
- … while evaluating 'isType'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/types.nix:71:18:
- 70| rec {
- 71| isType = type: x: (x._type or "") == type;
- | ^
- 72|
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:606:36:
- 605| defns' = defnsByName'.${name} or [];
- 606| optionDecls = filter (m: isOption m.options) decls;
- | ^
- 607| in
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:606:33:
- 605| defns' = defnsByName'.${name} or [];
- 606| optionDecls = filter (m: isOption m.options) decls;
- | ^
- 607| in
- … from call site
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:600:39:
- 599|
- 600| resultsByName = mapAttrs (name: decls:
- | ^
- 601| # We're descending into attribute ‘name’.
- … from call site
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:642:37:
- 641|
- 642| matchedOptions = mapAttrs (n: v: v.matchedOptions) resultsByName;
- | ^
- 643|
- … from call site
- … while evaluating 'g'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:398:19:
- 397| g =
- 398| name: value:
- | ^
- 399| if isAttrs value && cond value
- … from call site
- … while evaluating the attribute 'condition'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:903:14:
- 902| { _type = "if";
- 903| inherit condition content;
- | ^
- 904| };
- … while evaluating the attribute 'condition'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:903:14:
- 902| { _type = "if";
- 903| inherit condition content;
- | ^
- 904| };
- … while evaluating the attribute 'condition'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:903:14:
- 902| { _type = "if";
- 903| inherit condition content;
- | ^
- 904| };
- … while evaluating the attribute 'condition'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:903:14:
- 902| { _type = "if";
- 903| inherit condition content;
- | ^
- 904| };
- … while evaluating the attribute 'condition'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:903:14:
- 902| { _type = "if";
- 903| inherit condition content;
- | ^
- 904| };
- … while evaluating the attribute 'condition'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:903:14:
- 902| { _type = "if";
- 903| inherit condition content;
- | ^
- 904| };
- … while evaluating 'dischargeProperties'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:832:25:
- 831| */
- 832| dischargeProperties = def:
- | ^
- 833| if def._type or "" == "merge" then
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:761:137:
- 760| defs' = concatMap (m:
- 761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
- | ^
- 762| ) defs;
- … while evaluating definitions from `/nix/store/dchv8c5dnpgpn6xmaiimbvj85z1hp7bv-source/modules/nixos/desktop':
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:760:28:
- 759| # Process mkMerge and mkIf properties.
- 760| defs' = concatMap (m:
- | ^
- 761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:760:17:
- 759| # Process mkMerge and mkIf properties.
- 760| defs' = concatMap (m:
- | ^
- 761| 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/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:873:7:
- 872| in {
- 873| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
- | ^
- 874| inherit highestPrio;
- … while evaluating the attribute 'values'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:774:9:
- 773| in {
- 774| values = defs''';
- | ^
- 775| inherit (defs'') highestPrio;
- … while evaluating the attribute 'mergedValue'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:780:5:
- 779| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
- 780| mergedValue =
- | ^
- 781| if isDefined then
- … while evaluating the option `services.xserver.displayManager.lightdm.enable':
- … while evaluating the attribute 'value'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:746:9:
- 745| in warnDeprecation opt //
- 746| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
- | ^
- 747| inherit (res.defsFinal') highestPrio;
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:296:72:
- 295| # For definitions that have an associated option
- 296| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
- | ^
- 297|
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:401:20:
- 400| then recurse (path ++ [name]) value
- 401| else f (path ++ [name]) value;
- | ^
- 402| in mapAttrs g;
- … while evaluating 'g'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:398:19:
- 397| g =
- 398| name: value:
- | ^
- 399| if isAttrs value && cond value
- … from call site
- … while evaluating the attribute 'condition'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:903:14:
- 902| { _type = "if";
- 903| inherit condition content;
- | ^
- 904| };
- … while evaluating the attribute 'condition'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:903:14:
- 902| { _type = "if";
- 903| inherit condition content;
- | ^
- 904| };
- … while evaluating the attribute 'condition'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:903:14:
- 902| { _type = "if";
- 903| inherit condition content;
- | ^
- 904| };
- … while evaluating 'dischargeProperties'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:832:25:
- 831| */
- 832| dischargeProperties = def:
- | ^
- 833| if def._type or "" == "merge" then
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:761:137:
- 760| defs' = concatMap (m:
- 761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
- | ^
- 762| ) defs;
- … while evaluating definitions from `/nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/nixos/modules/services/x11/display-managers/lightdm-greeters/tiny.nix':
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:760:28:
- 759| # Process mkMerge and mkIf properties.
- 760| defs' = concatMap (m:
- | ^
- 761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:760:17:
- 759| # Process mkMerge and mkIf properties.
- 760| defs' = concatMap (m:
- | ^
- 761| 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/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:873:7:
- 872| in {
- 873| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
- | ^
- 874| inherit highestPrio;
- … while evaluating the attribute 'values'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:774:9:
- 773| in {
- 774| values = defs''';
- | ^
- 775| inherit (defs'') highestPrio;
- … while evaluating the attribute 'mergedValue'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:780:5:
- 779| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
- 780| mergedValue =
- | ^
- 781| if isDefined then
- … while evaluating the option `nixpkgs.config':
- … while evaluating the attribute 'value'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:746:9:
- 745| in warnDeprecation opt //
- 746| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
- | ^
- 747| inherit (res.defsFinal') highestPrio;
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:296:72:
- 295| # For definitions that have an associated option
- 296| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
- | ^
- 297|
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:401:20:
- 400| then recurse (path ++ [name]) value
- 401| else f (path ++ [name]) value;
- | ^
- 402| in mapAttrs g;
- … while evaluating 'g'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:398:19:
- 397| g =
- 398| name: value:
- | ^
- 399| if isAttrs value && cond value
- … from call site
- … while evaluating 'isFunction'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/trivial.nix:441:16:
- 440| */
- 441| isFunction = f: builtins.isFunction f ||
- | ^
- 442| (f ? __functor && isFunction (f.__functor f));
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/top-level/default.nix:73:8:
- 72| config1 =
- 73| if lib.isFunction config0
- | ^
- 74| then config0 { inherit pkgs; }
- … while evaluating the attribute 'config'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/top-level/default.nix:83:9:
- 82| # filter-out known options, FIXME: remove this eventually
- 83| config = builtins.intersectAttrs options config1;
- | ^
- 84| })
- … while evaluating 'addMeta'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:451:17:
- 450| let
- 451| addMeta = config: if m ? meta
- | ^
- 452| then mkMerge [ config { meta = m.meta; } ]
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:468:37:
- 467| options = m.options or {};
- 468| config = addFreeformType (addMeta (m.config or {}));
- | ^
- 469| }
- … while evaluating 'addFreeformType'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:454:25:
- 453| else config;
- 454| addFreeformType = config: if m ? freeformType
- | ^
- 455| then mkMerge [ config { _module.freeformType = m.freeformType; } ]
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:468:20:
- 467| options = m.options or {};
- 468| config = addFreeformType (addMeta (m.config or {}));
- | ^
- 469| }
- … while evaluating the attribute 'config'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:468:11:
- 467| options = m.options or {};
- 468| config = addFreeformType (addMeta (m.config or {}));
- | ^
- 469| }
- … while evaluating 'pushDownProperties'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:812:24:
- 811| */
- 812| pushDownProperties = cfg:
- | ^
- 813| if cfg._type or "" == "merge" then
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:530:73:
- 529| mergeModules' prefix modules
- 530| (concatMap (m: map (config: { file = m._file; inherit config; }) (pushDownProperties m.config)) modules);
- | ^
- 531|
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:530:19:
- 529| mergeModules' prefix modules
- 530| (concatMap (m: map (config: { file = m._file; inherit config; }) (pushDownProperties m.config)) modules);
- | ^
- 531|
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:530:8:
- 529| mergeModules' prefix modules
- 530| (concatMap (m: map (config: { file = m._file; inherit config; }) (pushDownProperties m.config)) modules);
- | ^
- 531|
- … while evaluating 'byName'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:555:25:
- 554| */
- 555| byName = attr: f: modules:
- | ^
- 556| zipAttrsWith (n: concatLists)
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:576:21:
- 575| # an attrset 'name' => list of submodules that define ‘name’.
- 576| defnsByName = byName "config" (module: value:
- | ^
- 577| map (config: { inherit (module) file; inherit config; }) (pushDownProperties value)
- … while evaluating 'byName'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:555:25:
- 554| */
- 555| byName = attr: f: modules:
- | ^
- 556| zipAttrsWith (n: concatLists)
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:580:22:
- 579| # extract the definitions for each loc
- 580| defnsByName' = byName "config" (module: value:
- | ^
- 581| [{ inherit (module) file; inherit value; }]
- … while evaluating the attribute 'values'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:873:7:
- 872| in {
- 873| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
- | ^
- 874| inherit highestPrio;
- … while evaluating the attribute 'values'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:774:9:
- 773| in {
- 774| values = defs''';
- | ^
- 775| inherit (defs'') highestPrio;
- … while evaluating the attribute 'mergedValue'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:780:5:
- 779| # Type-check the remaining definitions, and merge them. Or throw if no definitions.
- 780| mergedValue =
- | ^
- 781| if isDefined then
- … while evaluating the option `_module.freeformType':
- … while evaluating the attribute 'value'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:746:9:
- 745| in warnDeprecation opt //
- 746| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
- | ^
- 747| inherit (res.defsFinal') highestPrio;
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:296:72:
- 295| # For definitions that have an associated option
- 296| declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
- | ^
- 297|
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:401:20:
- 400| then recurse (path ++ [name]) value
- 401| else f (path ++ [name]) value;
- | ^
- 402| in mapAttrs g;
- … while evaluating 'g'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:398:19:
- 397| g =
- 398| name: value:
- | ^
- 399| if isAttrs value && cond value
- … from call site
- … while evaluating the attribute 'config.warnings'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:363:9:
- 362| options = checked options;
- 363| config = checked (removeAttrs config [ "_module" ]);
- | ^
- 364| _module = checked (config._module);
- … while evaluating 'fold''
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/lists.nix:56:15:
- 55| len = length list;
- 56| fold' = n:
- | ^
- 57| if n == len
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/lists.nix:60:8:
- 59| else op (elemAt list n) (fold' (n + 1));
- 60| in fold' 0;
- | ^
- 61|
- … while evaluating 'foldr'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/lists.nix:53:20:
- 52| */
- 53| foldr = op: nul: list:
- | ^
- 54| let
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/trivial.nix:407:33:
- 406|
- 407| showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings;
- | ^
- 408|
- … while evaluating 'showWarnings'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/trivial.nix:407:28:
- 406|
- 407| showWarnings = warnings: res: lib.foldr (w: x: warn w x) res warnings;
- | ^
- 408|
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/top-level/default.nix:89:12:
- 88| # take all the rest as-is
- 89| config = lib.showWarnings configEval.config.warnings
- | ^
- 90| (config1 // builtins.removeAttrs configEval.config [ "_module" ]);
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/stdenv/default.nix:7:1:
- 6|
- 7| { # Args just for stdenvs' usage
- | ^
- 8| lib
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/top-level/default.nix:127:12:
- 126|
- 127| stages = stdenvStages {
- | ^
- 128| inherit lib localSystem crossSystem config overlays crossOverlays;
- … while evaluating 'reverseList'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/lists.nix:394:17:
- 393| */
- 394| reverseList = xs:
- | ^
- 395| let l = length xs; in genList (n: elemAt xs (l - n - 1)) l;
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/stdenv/booter.nix:85:6:
- 84| // (stageFun prevStage))
- 85| (lib.lists.reverseList stageFuns);
- | ^
- 86|
- … while evaluating 'imap1'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/lists.nix:117:14:
- 116| */
- 117| imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
- | ^
- 118|
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/stdenv/booter.nix:78:30:
- 77| # isn't already set.
- 78| withAllowCustomOverrides = lib.lists.imap1
- | ^
- 79| (index: stageFun: prevStage:
- … while evaluating 'go'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/stdenv/booter.nix:63:18:
- 62| len = builtins.length list;
- 63| go = pred: n:
- | ^
- 64| if n == len
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/stdenv/booter.nix:72:13:
- 71| lapp = lnul cur;
- 72| cur = go lapp 0;
- | ^
- 73| in cur;
- … while evaluating 'dfold'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/stdenv/booter.nix:60:27:
- 59| */
- 60| dfold = op: lnul: rnul: list:
- | ^
- 61| let
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/stdenv/booter.nix:142:4:
- 141|
- 142| in dfold folder postStage (_: {}) withAllowCustomOverrides
- | ^
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/stdenv/booter.nix:42:1:
- 41| # other words, this does a foldr not foldl.
- 42| stageFuns: let
- | ^
- 43|
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/top-level/default.nix:131:10:
- 130|
- 131| pkgs = boot stages;
- | ^
- 132|
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/top-level/default.nix:58:108:
- 57| throwIfNot (lib.isList crossOverlays) "The crossOverlays argument to nixpkgs must be a list."
- 58| lib.foldr (x: throwIfNot (lib.isFunction x) "All crossOverlays passed to nixpkgs must be functions.") (r: r) crossOverlays
- | ^
- 59| ;
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/top-level/default.nix:133:4:
- 132|
- 133| in checked pkgs
- | ^
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/top-level/default.nix:19:1:
- 18|
- 19| { # The system packages will be built on. See the manual for the
- | ^
- 20| # subtle division of labor between these two `*System`s and the three
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/top-level/impure.nix:82:1:
- 81|
- 82| import ./. (builtins.removeAttrs args [ "system" ] // {
- | ^
- 83| inherit config overlays localSystem;
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/pkgs/top-level/impure.nix:14:1:
- 13|
- 14| { # We put legacy `system` into `localSystem`, if `localSystem` was not passed.
- | ^
- 15| # If neither is passed, assume we are building packages on the current
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/nixos/modules/misc/nixpkgs.nix:58:17:
- 57|
- 58| defaultPkgs = import ../../.. {
- | ^
- 59| inherit (cfg) config overlays localSystem crossSystem;
- … while evaluating the attribute 'value'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/types.nix:461:58:
- 460| # Push down position info.
- 461| (map (def: mapAttrs (n: v: { inherit (def) file; value = v; }) def.value) defs);
- | ^
- 462| emptyValue = { value = {}; };
- … while evaluating 'dischargeProperties'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:832:25:
- 831| */
- 832| dischargeProperties = def:
- | ^
- 833| if def._type or "" == "merge" then
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:761:137:
- 760| defs' = concatMap (m:
- 761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
- | ^
- 762| ) defs;
- … while evaluating definitions from `/nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/nixos/modules/misc/nixpkgs.nix':
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:760:28:
- 759| # Process mkMerge and mkIf properties.
- 760| defs' = concatMap (m:
- | ^
- 761| map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:760:17:
- 759| # Process mkMerge and mkIf properties.
- 760| defs' = concatMap (m:
- | ^
- 761| 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/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:873:7:
- 872| in {
- 873| values = concatMap (def: if getPrio def == highestPrio then [(strip def)] else []) defs;
- | ^
- 874| inherit highestPrio;
- … while evaluating the attribute 'values'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:774:9:
- 773| in {
- 774| values = defs''';
- | ^
- 775| inherit (defs'') highestPrio;
- … while evaluating the attribute 'optionalValue.value'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:792:5:
- 791|
- 792| optionalValue =
- | ^
- 793| if isDefined then { value = mergedValue; }
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/types.nix:455:29:
- 454| merge = loc: defs:
- 455| zipAttrsWith (name: defs:
- | ^
- 456| let merged = mergeDefinitions (loc ++ [name]) elemType defs;
- … from call site
- … while evaluating the module argument `pkgs' in "/nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/nixos/modules/services/hardware/bluetooth.nix":
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:494:44:
- 493| context = name: ''while evaluating the module argument `${name}' in "${key}":'';
- 494| extraArgs = builtins.mapAttrs (name: _:
- | ^
- 495| builtins.addErrorContext (context name)
- … from call site
- … while evaluating the attribute 'type.getSubModules'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/nixos/modules/services/hardware/bluetooth.nix:71:9:
- 70| settings = mkOption {
- 71| type = cfgFmt.type;
- | ^
- 72| default = { };
- … while evaluating 'fixupOptionType'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:893:26:
- 892| # TODO: Merge this into mergeOptionDecls
- 893| fixupOptionType = loc: opt:
- | ^
- 894| if opt.type.getSubModules or null == null
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:609:23:
- 608| if length optionDecls == length decls then
- 609| let opt = fixupOptionType loc (mergeOptionDecls loc decls);
- | ^
- 610| in {
- … while evaluating 'warnIf'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/trivial.nix:350:18:
- 349| */
- 350| warnIf = cond: msg: if cond then warn msg else x: x;
- | ^
- 351|
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:742:9:
- 741| warnDeprecation =
- 742| warnIf (opt.type.deprecationMessage != null)
- | ^
- 743| "The type `types.${opt.type.name}' of option `${showOption loc}' defined in ${showFiles opt.declarations} is deprecated. ${opt.type.deprecationMessage}";
- … while evaluating 'evalOptionValue'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:717:31:
- 716| config value. */
- 717| evalOptionValue = loc: opt: defs:
- | ^
- 718| let
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:611:32:
- 610| in {
- 611| matchedOptions = evalOptionValue loc opt defns';
- | ^
- 612| unmatchedDefns = [];
- … while evaluating the attribute 'matchedOptions'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:611:15:
- 610| in {
- 611| matchedOptions = evalOptionValue loc opt defns';
- | ^
- 612| unmatchedDefns = [];
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:642:37:
- 641|
- 642| matchedOptions = mapAttrs (n: v: v.matchedOptions) resultsByName;
- | ^
- 643|
- … from call site
- … while evaluating 'attrByPath'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:24:35:
- 23| */
- 24| attrByPath = attrPath: default: e:
- | ^
- 25| let attr = head attrPath;
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:29:12:
- 28| else if e ? ${attr}
- 29| then attrByPath (tail attrPath) default e.${attr}
- | ^
- 30| else default;
- … while evaluating 'attrByPath'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:24:35:
- 23| */
- 24| attrByPath = attrPath: default: e:
- | ^
- 25| let attr = head attrPath;
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:29:12:
- 28| else if e ? ${attr}
- 29| then attrByPath (tail attrPath) default e.${attr}
- | ^
- 30| else default;
- … while evaluating 'attrByPath'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:24:35:
- 23| */
- 24| attrByPath = attrPath: default: e:
- | ^
- 25| let attr = head attrPath;
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:29:12:
- 28| else if e ? ${attr}
- 29| then attrByPath (tail attrPath) default e.${attr}
- | ^
- 30| else default;
- … while evaluating 'attrByPath'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:24:35:
- 23| */
- 24| attrByPath = attrPath: default: e:
- | ^
- 25| let attr = head attrPath;
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:1160:26:
- 1159| (abort "Renaming error: option `${showOption to}' does not exist.");
- 1160| toType = let opt = attrByPath to {} options; in opt.type or (types.submodule {});
- | ^
- 1161| in
- … while evaluating 'optionalAttrs'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:453:25:
- 452| */
- 453| optionalAttrs = cond: as: if cond then as else {};
- | ^
- 454|
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:1167:12:
- 1166| apply = x: use (toOf config);
- 1167| } // optionalAttrs (toType != null) {
- | ^
- 1168| type = toType;
- … while evaluating 'atDepth'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:60:17:
- 59| len = length attrPath;
- 60| atDepth = n:
- | ^
- 61| if n == len
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:63:39:
- 62| then value
- 63| else { ${elemAt attrPath n} = atDepth (n + 1); };
- | ^
- 64| in atDepth 0;
- … while evaluating the attribute 'options'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:573:38:
- 572| declsByName = byName "options" (module: option:
- 573| [{ inherit (module) _file; options = option; }]
- | ^
- 574| ) options;
- … while evaluating 'isType'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/types.nix:71:18:
- 70| rec {
- 71| isType = type: x: (x._type or "") == type;
- | ^
- 72|
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:606:36:
- 605| defns' = defnsByName'.${name} or [];
- 606| optionDecls = filter (m: isOption m.options) decls;
- | ^
- 607| in
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:606:33:
- 605| defns' = defnsByName'.${name} or [];
- 606| optionDecls = filter (m: isOption m.options) decls;
- | ^
- 607| in
- … from call site
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:600:39:
- 599|
- 600| resultsByName = mapAttrs (name: decls:
- | ^
- 601| # We're descending into attribute ‘name’.
- … from call site
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:647:22:
- 646| # Propagate all unmatched definitions from nested option sets
- 647| mapAttrs (n: v: v.unmatchedDefns) resultsByName
- | ^
- 648| # Plus the definitions for the current prefix that don't have a matching option
- … from call site
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:661:46:
- 660| else
- 661| concatLists (mapAttrsToList (name: defs:
- | ^
- 662| map (def: def // {
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:356:16:
- 355| mapAttrsToList = f: attrs:
- 356| map (name: f name attrs.${name}) (attrNames attrs);
- | ^
- 357|
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:356:10:
- 355| mapAttrsToList = f: attrs:
- 356| map (name: f name attrs.${name}) (attrNames attrs);
- | ^
- 357|
- … from call site
- … while evaluating the attribute 'unmatchedDefns'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:654:7:
- 653| # Transforms unmatchedDefnsByName into a list of definitions
- 654| unmatchedDefns =
- | ^
- 655| if configs == []
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:647:22:
- 646| # Propagate all unmatched definitions from nested option sets
- 647| mapAttrs (n: v: v.unmatchedDefns) resultsByName
- | ^
- 648| # Plus the definitions for the current prefix that don't have a matching option
- … from call site
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:661:46:
- 660| else
- 661| concatLists (mapAttrsToList (name: defs:
- | ^
- 662| map (def: def // {
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:356:16:
- 355| mapAttrsToList = f: attrs:
- 356| map (name: f name attrs.${name}) (attrNames attrs);
- | ^
- 357|
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:356:10:
- 355| mapAttrsToList = f: attrs:
- 356| map (name: f name attrs.${name}) (attrNames attrs);
- | ^
- 357|
- … from call site
- … while evaluating the attribute 'unmatchedDefns'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:654:7:
- 653| # Transforms unmatchedDefnsByName into a list of definitions
- 654| unmatchedDefns =
- | ^
- 655| if configs == []
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:647:22:
- 646| # Propagate all unmatched definitions from nested option sets
- 647| mapAttrs (n: v: v.unmatchedDefns) resultsByName
- | ^
- 648| # Plus the definitions for the current prefix that don't have a matching option
- … from call site
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:661:46:
- 660| else
- 661| concatLists (mapAttrsToList (name: defs:
- | ^
- 662| map (def: def // {
- … from call site
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:356:16:
- 355| mapAttrsToList = f: attrs:
- 356| map (name: f name attrs.${name}) (attrNames attrs);
- | ^
- 357|
- … while evaluating anonymous lambda
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/attrsets.nix:356:10:
- 355| mapAttrsToList = f: attrs:
- 356| map (name: f name attrs.${name}) (attrNames attrs);
- | ^
- 357|
- … from call site
- … while evaluating the attribute 'unmatchedDefns'
- at /nix/store/kmy3yfc596gvfm5lkxzbq37kxizdj78r-source/lib/modules.nix:654:7:
- 653| # Transforms unmatchedDefnsByName into a list of definitions
- 654| unmatchedDefns =
- | ^
- 655| if configs == []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement