From 22584ce6675fdabd14fd71f7ce8021cd14facf05 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Fri, 29 Oct 2021 13:40:22 +0200 Subject: [PATCH] nixos/eval-config.nix: Expose type Also works for (pkgs.nixos {}).type. --- nixos/lib/eval-config.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/lib/eval-config.nix b/nixos/lib/eval-config.nix index 15429a7160c5..69e0a2afdba3 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.