about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/shell.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/shell.nix b/tests/shell.nix
index 1a092913b3b2..5845d36fc161 100644
--- a/tests/shell.nix
+++ b/tests/shell.nix
@@ -2,7 +2,7 @@
 
 with import ./config.nix;
 
-rec {
+let pkgs = rec {
   setupSh = builtins.toFile "setup" ''
     export VAR_FROM_STDENV_SETUP=foo
     for pkg in $buildInputs; do
@@ -44,4 +44,6 @@ rec {
   '';
 
   bash = shell;
-}
+
+  inherit pkgs;
+}; in pkgs