12 lines
156 B
Bash
12 lines
156 B
Bash
#!/bin/sh
|
|
set -eu
|
|
set -f
|
|
|
|
if ! nix; then
|
|
exit 0
|
|
fi
|
|
|
|
export IFS=' '
|
|
echo "Uploading paths" $OUT_PATHS
|
|
exec nix copy --to "ssh://localhost:5000" $OUT_PATHS
|