aboutsummaryrefslogtreecommitdiff
path: root/tests/nix-pull.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2007-08-13 13:15:02 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2007-08-13 13:15:02 +0000
commit550ba9ebb4b1b2415c9930879cfa6937f7fa916a (patch)
tree3c15b0a01c59be162a17bb003d09fbd80ba01aa1 /tests/nix-pull.sh
parent3757ee589f46a401fdacaa2126e6bf4902eee23d (diff)
* Fix the tests.
Diffstat (limited to 'tests/nix-pull.sh')
-rw-r--r--tests/nix-pull.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/nix-pull.sh b/tests/nix-pull.sh
index a847510ce..5ef3e55ca 100644
--- a/tests/nix-pull.sh
+++ b/tests/nix-pull.sh
@@ -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