Fix test failure

(cherry picked from commit 46e36f9b73)
Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
Eelco Dolstra 2016-09-08 18:22:28 +02:00 committed by Domen Kožar
parent 24883645a6
commit 04532ee2c8
No known key found for this signature in database
GPG Key ID: C2FFBCAFD2C24246
1 changed files with 3 additions and 3 deletions

View File

@ -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