summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorCaleb Norton <[email protected]>2026-03-24 12:32:48 -0500
committerGitHub <[email protected]>2026-03-24 12:32:48 -0500
commit1238d1f61acccf05330ff8fb59f3e355239b5f82 (patch)
treeb9c0a773507eceed8110438fa88a1a636eef70ca /.github
parent1d3232b3885daa471309abab59e145d8e16f1736 (diff)
downloadopencode-1238d1f61acccf05330ff8fb59f3e355239b5f82.tar.gz
opencode-1238d1f61acccf05330ff8fb59f3e355239b5f82.zip
fix: nix hash update parsing (#18979)
Diffstat (limited to '.github')
-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 9ebdb0188..47385d20c 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 -oE 'got:\s*sha256-[A-Za-z0-9+/=]+' "$BUILD_LOG" | tail -n1 || true)"
+ HASH="$(grep -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}"