forked from lix-project/lix
This commit is contained in:
parent
ff762fb499
commit
d95b68fde3
|
@ -104,3 +104,5 @@ $nixstore --init
|
||||||
# Did anything happen?
|
# Did anything happen?
|
||||||
test -e "$NIX_DB_DIR"/info
|
test -e "$NIX_DB_DIR"/info
|
||||||
test -e "$NIX_DB_DIR"/referrer
|
test -e "$NIX_DB_DIR"/referrer
|
||||||
|
|
||||||
|
echo 'Hello World' > ./dummy
|
||||||
|
|
|
@ -18,7 +18,6 @@ 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
|
||||||
|
|
||||||
echo 'Hello World' > ./dummy
|
|
||||||
outPath="$(NIX_STORE_DIR=/foo $nixinstantiate --readonly-mode hash-check.nix)"
|
outPath="$(NIX_STORE_DIR=/foo $nixinstantiate --readonly-mode hash-check.nix)"
|
||||||
if test "$outPath" != "/foo/lfy1s6ca46rm5r6w4gg9hc0axiakjcnm-dependencies.drv"; then
|
if test "$outPath" != "/foo/lfy1s6ca46rm5r6w4gg9hc0axiakjcnm-dependencies.drv"; then
|
||||||
echo "hashDerivationModulo appears broken, got $outPath"
|
echo "hashDerivationModulo appears broken, got $outPath"
|
||||||
|
|
Loading…
Reference in a new issue