* Fix the hashDerivationModulo test. I should really investigate
*why* the test failed...
This commit is contained in:
parent
59707975a3
commit
b5ddcf58ad
1 changed files with 4 additions and 2 deletions
|
@ -18,6 +18,8 @@ if test "$text" != "Hello World!"; then exit 1; fi
|
||||||
$nixstore --delete $outPath
|
$nixstore --delete $outPath
|
||||||
if test -e $outPath/hello; then false; fi
|
if test -e $outPath/hello; then false; fi
|
||||||
|
|
||||||
if test "$(NIX_STORE_DIR=/foo $nixinstantiate --readonly-mode hash-check.nix)" != "/foo/bbfambd3ksry4ylik1772pn2qyw1k296-dependencies.drv"; then
|
outPath="$(NIX_STORE_DIR=/foo $nixinstantiate --readonly-mode hash-check.nix)"
|
||||||
echo "hashDerivationModulo appears broken"
|
if test "$outPath" != "/foo/lfy1s6ca46rm5r6w4gg9hc0axiakjcnm-dependencies.drv"; then
|
||||||
|
echo "hashDerivationModulo appears broken, got $outPath"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue