1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-10 08:53:55 +02:00

tests: copying only the out paths is not enough information for CA

This commit is contained in:
Yorick van Pelt 2023-02-24 16:33:28 +01:00
parent 12685ef45f
commit 5e332aa503
No known key found for this signature in database
GPG key ID: A36E70F9DC014A15
2 changed files with 3 additions and 1 deletions

View file

@ -9,6 +9,7 @@ set -e
echo Pushing "$OUT_PATHS" to "$REMOTE_STORE"
if [ -n "$BUILD_HOOK_ONLY_OUT_PATHS" ]; then
printf "%s" "$OUT_PATHS" | xargs nix copy --to "$REMOTE_STORE" --no-require-sigs
printf "%s" "$DRV_PATH" | xargs nix copy --to "$REMOTE_STORE" --no-require-sigs --derivation
else
printf "%s" "$DRV_PATH"^'*' | xargs nix copy --to "$REMOTE_STORE" --no-require-sigs
fi