about summary refs log tree commit diff
path: root/tests/simple.sh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-06-14T15·43+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-06-17T13·26+0200
commite95f3c44435c9f4540f684b7a9bdaecda8f3740a (patch)
tree365d1f9a6647ec1bfdc4fd4a23f1d4e464eb2080 /tests/simple.sh
parent6a5f9c86f6403f7e915710ff247e80d5f5308520 (diff)
Fix test
http://hydra.nixos.org/build/36631898
Diffstat (limited to 'tests/simple.sh')
-rw-r--r--tests/simple.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/simple.sh b/tests/simple.sh
index af8bccc2b457..8f9d782a6c81 100644
--- a/tests/simple.sh
+++ b/tests/simple.sh
@@ -18,7 +18,7 @@ if test "$text" != "Hello World!"; then exit 1; fi
 nix-store --delete $outPath
 if test -e $outPath/hello; then false; fi
 
-outPath="$(NIX_STORE_DIR=/foo nix-instantiate --readonly-mode hash-check.nix)"
+outPath="$(NIX_REMOTE=local?store=/foo\&real=$TMPDIR/real-store nix-instantiate --readonly-mode hash-check.nix)"
 if test "$outPath" != "/foo/lfy1s6ca46rm5r6w4gg9hc0axiakjcnm-dependencies.drv"; then
     echo "hashDerivationModulo appears broken, got $outPath"
     exit 1