forked from mirrors/nixpkgs
nixos/eval-config.nix: Rename let withExtraArgs -> withExtraAttrs
Presumably it only used to add `extraArgs`, but it also adds other attributes now.
This commit is contained in:
parent
98deb47f4f
commit
1c0427862e
|
@ -107,10 +107,10 @@ let
|
|||
|
||||
nixosWithUserModules = noUserModules.extendModules { modules = allUserModules; };
|
||||
|
||||
withExtraArgs = nixosSystem: nixosSystem // {
|
||||
withExtraAttrs = nixosSystem: nixosSystem // {
|
||||
inherit extraArgs;
|
||||
inherit (nixosSystem._module.args) pkgs;
|
||||
extendModules = args: withExtraArgs (nixosSystem.extendModules args);
|
||||
extendModules = args: withExtraAttrs (nixosSystem.extendModules args);
|
||||
};
|
||||
in
|
||||
withWarnings (withExtraArgs nixosWithUserModules)
|
||||
withWarnings (withExtraAttrs nixosWithUserModules)
|
||||
|
|
Loading…
Reference in a new issue