Skip to content

Commit 2c1d8a9

Browse files
fix: nix hash update parsing... again (#18989)
1 parent 8994cbf commit 2c1d8a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/nix-hashes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
nix build ".#packages.${SYSTEM}.node_modules_updater" --no-link 2>&1 | tee "$BUILD_LOG" || true
5757
5858
# Extract hash from build log with portability
59-
HASH="$(grep -oP 'got:\s*\Ksha256-[A-Za-z0-9+/=]+' "$BUILD_LOG" | tail -n1 || true)"
59+
HASH="$(nix run --inputs-from . nixpkgs#gnugrep -- -oP 'got:\s*\Ksha256-[A-Za-z0-9+/=]+' "$BUILD_LOG" | tail -n1 || true)"
6060
6161
if [ -z "$HASH" ]; then
6262
echo "::error::Failed to compute hash for ${SYSTEM}"

0 commit comments

Comments
 (0)