From 04532ee2c876980b9ceb160ec9ca958867aae372 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 8 Sep 2016 18:22:28 +0200 Subject: [PATCH] Fix test failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 46e36f9b73456e79d5e32eb9743bb41816b553da) Signed-off-by: Domen Kožar --- tests/tarball.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/tarball.sh b/tests/tarball.sh index e22a72e3f..320ae8cee 100644 --- a/tests/tarball.sh +++ b/tests/tarball.sh @@ -16,11 +16,11 @@ tarball=$TEST_ROOT/tarball.tar.xz nix-env -f file://$tarball -qa --out-path | grep -q dependencies -nix-build file://$tarball +nix-build -o $TEST_ROOT/result file://$tarball -nix-build '' -I foo=file://$tarball +nix-build -o $TEST_ROOT/result '' -I foo=file://$tarball -nix-build -o $TMPDIR/result -E "import (fetchTarball file://$tarball)" +nix-build -o $TEST_ROOT/result -E "import (fetchTarball file://$tarball)" nix-instantiate --eval -E '1 + 2' -I fnord=file://no-such-tarball.tar.xz nix-instantiate --eval -E 'with ; 1 + 2' -I fnord=file://no-such-tarball.tar.xz