We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8994cbf commit 2c1d8a9Copy full SHA for 2c1d8a9
1 file changed
.github/workflows/nix-hashes.yml
@@ -56,7 +56,7 @@ jobs:
56
nix build ".#packages.${SYSTEM}.node_modules_updater" --no-link 2>&1 | tee "$BUILD_LOG" || true
57
58
# Extract hash from build log with portability
59
- HASH="$(grep -oP 'got:\s*\Ksha256-[A-Za-z0-9+/=]+' "$BUILD_LOG" | tail -n1 || true)"
+ HASH="$(nix run --inputs-from . nixpkgs#gnugrep -- -oP 'got:\s*\Ksha256-[A-Za-z0-9+/=]+' "$BUILD_LOG" | tail -n1 || true)"
60
61
if [ -z "$HASH" ]; then
62
echo "::error::Failed to compute hash for ${SYSTEM}"
0 commit comments