aboutsummaryrefslogtreecommitdiff
path: root/tests/nix-push.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nix-push.sh')
-rw-r--r--tests/nix-push.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/nix-push.sh b/tests/nix-push.sh
index 69f05141a..8ea59516c 100644
--- a/tests/nix-push.sh
+++ b/tests/nix-push.sh
@@ -1,5 +1,7 @@
source common.sh
+clearStore
+
drvPath=$(nix-instantiate dependencies.nix)
outPath=$(nix-store -r $drvPath)
@@ -7,4 +9,4 @@ echo "pushing $drvPath"
mkdir -p $TEST_ROOT/cache
-nix-push --copy $TEST_ROOT/cache $TEST_ROOT/manifest $drvPath
+nix-push --dest $TEST_ROOT/cache --manifest $drvPath --bzip2