This commit is contained in:
Eelco Dolstra 2008-12-03 16:15:38 +00:00
parent ff762fb499
commit d95b68fde3
2 changed files with 2 additions and 1 deletions

View File

@ -104,3 +104,5 @@ $nixstore --init
# Did anything happen?
test -e "$NIX_DB_DIR"/info
test -e "$NIX_DB_DIR"/referrer
echo 'Hello World' > ./dummy

View File

@ -18,7 +18,6 @@ if test "$text" != "Hello World!"; then exit 1; fi
$nixstore --delete $outPath
if test -e $outPath/hello; then false; fi
echo 'Hello World' > ./dummy
outPath="$(NIX_STORE_DIR=/foo $nixinstantiate --readonly-mode hash-check.nix)"
if test "$outPath" != "/foo/lfy1s6ca46rm5r6w4gg9hc0axiakjcnm-dependencies.drv"; then
echo "hashDerivationModulo appears broken, got $outPath"