Skip to content

Commit

Permalink
Add NIX_SSHOPTS to ssh commands in release file
Browse files Browse the repository at this point in the history
  • Loading branch information
FPtje committed Jan 1, 2024
1 parent 180c375 commit 678e0b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release-aarch64-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ DRV_PATH=$(nix path-info --derivation .#packages.aarch64-linux.glualint-static)
BUILD_HOST=$1
nix copy --derivation --to "ssh://$BUILD_HOST" "$DRV_PATH^*"
echo "Copied $DRV_PATH to $BUILD_HOST"
OUT_PATH=$(ssh "$BUILD_HOST" "nix build --print-build-logs --print-out-paths '$DRV_PATH^*'")
VERSION=$(ssh "$BUILD_HOST" $OUT_PATH/bin/glualint --version)
OUT_PATH=$(ssh "$NIX_SSHOPTS" "$BUILD_HOST" "nix build --print-build-logs --print-out-paths '$DRV_PATH^*'")
VERSION=$(ssh "$NIX_SSHOPTS" "$BUILD_HOST" $OUT_PATH/bin/glualint --version)
nix copy --from "ssh://$BUILD_HOST" --no-check-sigs "$OUT_PATH"
cp "$OUT_PATH/bin/glualint" ./glualint
zip "glualint-$VERSION-aarch64-linux.zip" glualint
Expand Down

0 comments on commit 678e0b7

Please sign in to comment.