diff options
author | Robert Hensing <robert@roberthensing.nl> | 2021-10-29 13:40:22 +0200 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2021-11-01 09:38:49 +0100 |
commit | 22584ce6675fdabd14fd71f7ce8021cd14facf05 (patch) | |
tree | db46670d0f6c69dd1937d27b32f89ad55ce67169 /nixos/lib | |
parent | 64dfd983df61d9c427ac01d0d25b8d2f26b4c3d5 (diff) |
nixos/eval-config.nix: Expose type
Also works for (pkgs.nixos {}).type.
Diffstat (limited to 'nixos/lib')
-rw-r--r-- | nixos/lib/eval-config.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/lib/eval-config.nix b/nixos/lib/eval-config.nix index 15429a7160c5a..69e0a2afdba3d 100644 --- a/nixos/lib/eval-config.nix +++ b/nixos/lib/eval-config.nix @@ -61,7 +61,7 @@ in rec { args = extraArgs; specialArgs = { modulesPath = builtins.toString ../modules; } // specialArgs; - }) config options _module; + }) config options _module type; # These are the extra arguments passed to every module. In # particular, Nixpkgs is passed through the "pkgs" argument. |