Fix nix-shell test

This commit is contained in:
Eelco Dolstra 2017-04-25 18:59:18 +02:00
parent 536f061765
commit 4c95ef3768
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -2,7 +2,7 @@
with import ./config.nix; with import ./config.nix;
rec { let pkgs = rec {
setupSh = builtins.toFile "setup" '' setupSh = builtins.toFile "setup" ''
export VAR_FROM_STDENV_SETUP=foo export VAR_FROM_STDENV_SETUP=foo
for pkg in $buildInputs; do for pkg in $buildInputs; do
@ -44,4 +44,6 @@ rec {
''; '';
bash = shell; bash = shell;
}
inherit pkgs;
}; in pkgs