about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2018-02-09 20:23:30 -0500
committerGitHub <noreply@github.com>2018-02-09 20:23:30 -0500
commit94e62d505ffe19c621df3e16817fbdc9c92268ce (patch)
tree41661092aba412a1f74c0853e3a23362aa14384a /nixos
parenteaf55b1946b964dad073381e9e6ec00c27d03f3d (diff)
parente1b168398179834ff0ccae6071a2c64b38a7dec7 (diff)
downloadnixlib-94e62d505ffe19c621df3e16817fbdc9c92268ce.tar
nixlib-94e62d505ffe19c621df3e16817fbdc9c92268ce.tar.gz
nixlib-94e62d505ffe19c621df3e16817fbdc9c92268ce.tar.bz2
nixlib-94e62d505ffe19c621df3e16817fbdc9c92268ce.tar.lz
nixlib-94e62d505ffe19c621df3e16817fbdc9c92268ce.tar.xz
nixlib-94e62d505ffe19c621df3e16817fbdc9c92268ce.tar.zst
nixlib-94e62d505ffe19c621df3e16817fbdc9c92268ce.zip
Merge pull request #34778 from oxij/os/allow-pkgs
nixos: export packages of the current configuration
Diffstat (limited to 'nixos')
-rw-r--r--nixos/default.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/default.nix b/nixos/default.nix
index 0e45a1cd75e2..45da78e9261c 100644
--- a/nixos/default.nix
+++ b/nixos/default.nix
@@ -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;