about summary refs log tree commit diff
path: root/third_party/nix/tests/push-to-store.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/tests/push-to-store.sh')
-rwxr-xr-xthird_party/nix/tests/push-to-store.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/nix/tests/push-to-store.sh b/third_party/nix/tests/push-to-store.sh
new file mode 100755
index 000000000000..6aadb916ba0b
--- /dev/null
+++ b/third_party/nix/tests/push-to-store.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+echo Pushing "$@" to "$REMOTE_STORE"
+printf "%s" "$OUT_PATHS" | xargs -d: nix copy --to "$REMOTE_STORE" --no-require-sigs