From 4c95ef3768f8415579d9dd8bda69407021b72017 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 25 Apr 2017 18:59:18 +0200 Subject: [PATCH] Fix nix-shell test --- tests/shell.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/shell.nix b/tests/shell.nix index 1a092913b..5845d36fc 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