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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user