aboutsummaryrefslogtreecommitdiff
path: root/tests/push-to-store-old.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/push-to-store-old.sh')
-rwxr-xr-xtests/push-to-store-old.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/push-to-store-old.sh b/tests/push-to-store-old.sh
new file mode 100755
index 000000000..b1495c9e2
--- /dev/null
+++ b/tests/push-to-store-old.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -x
+set -e
+
+[ -n "$OUT_PATHS" ]
+[ -n "$DRV_PATH" ]
+
+echo Pushing "$OUT_PATHS" to "$REMOTE_STORE"
+printf "%s" "$DRV_PATH" | xargs nix copy --to "$REMOTE_STORE" --no-require-sigs