nixos: Fix pkgs exporting

This needs adjustment after dcdd232939
This commit is contained in:
Silvan Mosberger 2020-03-19 21:19:25 +01:00
parent e931de58a2
commit d28f138160
No known key found for this signature in database
GPG key ID: E8F1E9EAD284E17D

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;
}