Skip to content

Commit

Permalink
Fix test failure
Browse files Browse the repository at this point in the history
(cherry picked from commit 46e36f9)
Signed-off-by: Domen Kožar <domen@dev.si>
  • Loading branch information
edolstra authored and domenkozar committed Jul 25, 2017
1 parent 2488364 commit 04532ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/tarball.sh
Expand Up @@ -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 '<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 04532ee

Please sign in to comment.