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:
Robert Hensing 2023-10-10 13:20:34 +02:00
parent 98deb47f4f
commit 1c0427862e

View File

@ -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)