test if nix available before uploading
All checks were successful
/ perform flake analysis (push) Successful in 36s
/ build hive configuration (push) Successful in 8m0s

This commit is contained in:
2026-01-09 11:39:54 +01:00
parent daa7881658
commit 4c1d0b06dc
2 changed files with 4 additions and 2 deletions

View File

@@ -2,6 +2,10 @@
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