Avoid duplicate gateway shebang patch
Remove the install-phase patchShebangs pass over node_modules/.bin. The build phase already runs patchShebangs before packaging, and the second pass can hang Garnix while not materially changing the output. Tests: git diff --check. Full package proof is delegated to Garnix because the fresh v2026.5.5 gateway source build is intentionally not run locally.
This commit is contained in:
parent
e4aad2be37
commit
6a5352eba7
@ -80,8 +80,6 @@ if [ ! -f "$STDENV_SETUP" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
log_step "patchShebangs node_modules/.bin" bash -e -c '. "$STDENV_SETUP"; patchShebangs "$out/lib/openclaw/node_modules/.bin"'
|
||||
|
||||
# Work around missing dependency declaration in pi-coding-agent (strip-ansi).
|
||||
# Ensure it is resolvable at runtime without changing upstream.
|
||||
pi_pkg="$(find "$out/lib/openclaw/node_modules/.pnpm" -path "*/node_modules/@mariozechner/pi-coding-agent" -print | head -n 1)"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user