mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 01:04:25 +00:00
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; };
|
nixosWithUserModules = noUserModules.extendModules { modules = allUserModules; };
|
||||||
|
|
||||||
withExtraArgs = nixosSystem: nixosSystem // {
|
withExtraAttrs = nixosSystem: nixosSystem // {
|
||||||
inherit extraArgs;
|
inherit extraArgs;
|
||||||
inherit (nixosSystem._module.args) pkgs;
|
inherit (nixosSystem._module.args) pkgs;
|
||||||
extendModules = args: withExtraArgs (nixosSystem.extendModules args);
|
extendModules = args: withExtraAttrs (nixosSystem.extendModules args);
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
withWarnings (withExtraArgs nixosWithUserModules)
|
withWarnings (withExtraAttrs nixosWithUserModules)
|
||||||
|
Loading…
Reference in New Issue
Block a user