summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorCaleb Norton <[email protected]>2026-03-24 13:06:46 -0500
committerGitHub <[email protected]>2026-03-24 13:06:46 -0500
commit2c1d8a90d567d65ac044b2feaf2ee886318247ec (patch)
treed5f07ff2874432f80404fbcb8f62ae546cb53129 /.github/workflows
parent8994cbfc0f57aede5a34a202f778d3a4385908af (diff)
downloadopencode-2c1d8a90d567d65ac044b2feaf2ee886318247ec.tar.gz
opencode-2c1d8a90d567d65ac044b2feaf2ee886318247ec.zip
fix: nix hash update parsing... again (#18989)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/nix-hashes.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/nix-hashes.yml b/.github/workflows/nix-hashes.yml
index 47385d20c..9d94682f1 100644
--- a/.github/workflows/nix-hashes.yml
+++ b/.github/workflows/nix-hashes.yml
@@ -56,7 +56,7 @@ jobs:
nix build ".#packages.${SYSTEM}.node_modules_updater" --no-link 2>&1 | tee "$BUILD_LOG" || true
# Extract hash from build log with portability
- 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)"
if [ -z "$HASH" ]; then
echo "::error::Failed to compute hash for ${SYSTEM}"