nixos/eval-config.nix: Expose type

Also works for (pkgs.nixos {}).type.
This commit is contained in:
Robert Hensing 2021-10-29 13:40:22 +02:00
parent 64dfd983df
commit 22584ce667

View file

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