diff options
author | Robert Hensing <robert@roberthensing.nl> | 2023-10-10 13:20:34 +0200 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2023-10-10 13:24:55 +0200 |
commit | 1c0427862e47ecce41a2c169eec251570d170fd3 (patch) | |
tree | c7ae95661c14377461bbc4fee5a6a2b2123951d7 /nixos | |
parent | 98deb47f4f196a645e59ec3e6355990044d84a49 (diff) |
nixos/eval-config.nix: Rename let withExtraArgs -> withExtraAttrs
Presumably it only used to add `extraArgs`, but it also adds other attributes now.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/lib/eval-config.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/lib/eval-config.nix b/nixos/lib/eval-config.nix index c00ba1bdc04e1..0b151cbd85cac 100644 --- a/nixos/lib/eval-config.nix +++ b/nixos/lib/eval-config.nix @@ -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) |