Skip to content

Commit 04532ee

Browse files
edolstradomenkozar
authored andcommittedJul 25, 2017
Fix test failure
(cherry picked from commit 46e36f9) Signed-off-by: Domen Kožar <domen@dev.si>
1 parent 2488364 commit 04532ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎tests/tarball.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ tarball=$TEST_ROOT/tarball.tar.xz
1616

1717
nix-env -f file://$tarball -qa --out-path | grep -q dependencies
1818

19-
nix-build file://$tarball
19+
nix-build -o $TEST_ROOT/result file://$tarball
2020

21-
nix-build '<foo>' -I foo=file://$tarball
21+
nix-build -o $TEST_ROOT/result '<foo>' -I foo=file://$tarball
2222

23-
nix-build -o $TMPDIR/result -E "import (fetchTarball file://$tarball)"
23+
nix-build -o $TEST_ROOT/result -E "import (fetchTarball file://$tarball)"
2424

2525
nix-instantiate --eval -E '1 + 2' -I fnord=file://no-such-tarball.tar.xz
2626
nix-instantiate --eval -E 'with <fnord/xyzzy>; 1 + 2' -I fnord=file://no-such-tarball.tar.xz

0 commit comments

Comments
 (0)
Please sign in to comment.