Merge pull request #34778 from oxij/os/allow-pkgs

nixos: export packages of the current configuration
This commit is contained in:
Graham Christensen 2018-02-09 20:23:30 -05:00 committed by GitHub
commit 94e62d505f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,8 +9,6 @@ let
modules = [ configuration ];
};
inherit (eval) pkgs;
# This is for `nixos-rebuild build-vm'.
vmConfig = (import ./lib/eval-config.nix {
inherit system;
@ -30,7 +28,7 @@ let
in
{
inherit (eval) config options;
inherit (eval) pkgs config options;
system = eval.config.system.build.toplevel;