mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
nixos/lib/eval-config.nix: Return all of evalModules return attrs
We were exposing everything pointwise anyway. If any new attrs are added, there's a good chance we'll want to expose them anyway.
This commit is contained in:
parent
537db62345
commit
9fd9c617a9
1 changed files with 2 additions and 7 deletions
|
@ -88,13 +88,8 @@ let
|
|||
|
||||
nixosWithUserModules = noUserModules.extendModules { modules = allUserModules; };
|
||||
|
||||
in withWarnings {
|
||||
|
||||
# Merge the option definitions in all modules, forming the full
|
||||
# system configuration.
|
||||
inherit (nixosWithUserModules) config options _module type extendModules;
|
||||
|
||||
in
|
||||
withWarnings nixosWithUserModules // {
|
||||
inherit extraArgs;
|
||||
|
||||
inherit (nixosWithUserModules._module.args) pkgs;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue