1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 14:21:48 +02:00

* Fix the tests.

This commit is contained in:
Eelco Dolstra 2007-08-13 13:15:02 +00:00
parent 3757ee589f
commit 550ba9ebb4
12 changed files with 67 additions and 63 deletions

View file

@ -6,6 +6,7 @@ pullCache () {
}
clearStore
clearManifests
pullCache
drvPath=$($nixinstantiate dependencies.nix)
@ -17,6 +18,7 @@ $nixstore -r $outPath
cat $outPath/input-2/bar
clearStore
clearManifests
pullCache
echo "building $drvPath using substitutes..."
@ -28,4 +30,4 @@ cat $outPath/input-2/bar
test $($nixstore -q --deriver "$outPath") = "$drvPath"
$nixstore -q --deriver $(readLink $outPath/input-2) | grep -q -- "-input-2.drv"
$nixstore --clear-substitutes
clearManifests