Skip to content

Commit

Permalink
Fix test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Sep 8, 2016
1 parent ff0c0b6 commit 46e36f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/tarball.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ tarball=$TEST_ROOT/tarball.tar.xz

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

nix-build -o $TMPDIR/result file://$tarball
nix-build -o $TEST_ROOT/result file://$tarball

nix-build -o $TMPDIR/result '<foo>' -I foo=file://$tarball
nix-build -o $TEST_ROOT/result '<foo>' -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 <fnord/xyzzy>; 1 + 2' -I fnord=file://no-such-tarball.tar.xz
Expand Down

0 comments on commit 46e36f9

Please sign in to comment.