Merge pull request #82960 from Infinisil/fix-nixos-eval-pkgs

nixos: Fix pkgs exporting
This commit is contained in:
Silvan Mosberger 2020-03-19 22:26:37 +01:00 committed by GitHub
commit b962045c94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ in rec {
args = extraArgs;
specialArgs =
{ modulesPath = builtins.toString ../modules; } // specialArgs;
}) config options;
}) config options _module;
# These are the extra arguments passed to every module. In
# particular, Nixpkgs is passed through the "pkgs" argument.
@ -69,5 +69,5 @@ in rec {
inherit baseModules extraModules modules;
};
inherit (config._module.args) pkgs;
inherit (_module.args) pkgs;
}