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:
parent
4f3725b167
commit
88e54153dc
3 changed files with 34 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue