1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-10 04:43:53 +02:00

* Add a precise test for hashDerivatioModulo.

This commit is contained in:
Eelco Dolstra 2006-07-19 15:49:29 +00:00
parent 4f3725b167
commit 88e54153dc
3 changed files with 34 additions and 0 deletions

View file

@ -17,3 +17,7 @@ if test "$text" != "Hello World!"; then exit 1; fi
# be deleteable.
$nixstore --delete $outPath
if test -e $outPath/hello; then false; fi
if test "$(NIX_STORE_DIR=/foo $nixinstantiate --readonly-mode hash-check.nix)" != "/foo/4hgkkq63lp8x5kmh9cmsyqimq5v42zzl-dependencies.drv"; then
echo "hashDerivationModulo appears broken"
fi