about summary refs log tree commit diff
path: root/tests/nix-pull.sh
diff options
context:
space:
mode:
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 a847510cebfe..5ef3e55cae51 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