fix(lamassu): add bash to PATH and use setsid for turbo build
Some checks failed
nix-bitcoin tests / build_test_drivers (push) Has been cancelled
nix-bitcoin tests / check_flake (push) Has been cancelled
nix-bitcoin tests / test_scenario (default) (push) Has been cancelled
nix-bitcoin tests / test_scenario (joinmarket-bitcoind-29) (push) Has been cancelled
nix-bitcoin tests / test_scenario (netns) (push) Has been cancelled
nix-bitcoin tests / test_scenario (netnsRegtest) (push) Has been cancelled
Some checks failed
nix-bitcoin tests / build_test_drivers (push) Has been cancelled
nix-bitcoin tests / check_flake (push) Has been cancelled
nix-bitcoin tests / test_scenario (default) (push) Has been cancelled
nix-bitcoin tests / test_scenario (joinmarket-bitcoind-29) (push) Has been cancelled
nix-bitcoin tests / test_scenario (netns) (push) Has been cancelled
nix-bitcoin tests / test_scenario (netnsRegtest) (push) Has been cancelled
- Add bash to PATH so node-gyp can find sh for native module builds - Use setsid --wait for turbo build to isolate from signal propagation (prevents pnpm's exit code -2 when turbo calls pnpm run build) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
539a9069bf
commit
584f342b39
1 changed files with 4 additions and 2 deletions
|
|
@ -302,6 +302,7 @@ in
|
||||||
git
|
git
|
||||||
coreutils
|
coreutils
|
||||||
gnused
|
gnused
|
||||||
|
bash # Provides sh for node-gyp
|
||||||
util-linux # for setsid
|
util-linux # for setsid
|
||||||
# Native build tools for node-gyp (required for utf-8-validate, bufferutil, etc.)
|
# Native build tools for node-gyp (required for utf-8-validate, bufferutil, etc.)
|
||||||
stdenv.cc # Full C/C++ toolchain with headers
|
stdenv.cc # Full C/C++ toolchain with headers
|
||||||
|
|
@ -427,9 +428,10 @@ in
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "==> Building project..."
|
echo "==> Building project..."
|
||||||
# Bypass pnpm and call turbo directly to avoid pnpm signal handling issues
|
# Use setsid to run turbo in a new session, isolating it from signal propagation
|
||||||
|
# This prevents pnpm's signal handling issues (exit code -2) when turbo calls pnpm run build
|
||||||
# See: https://github.com/pnpm/pnpm/issues/7374
|
# See: https://github.com/pnpm/pnpm/issues/7374
|
||||||
./node_modules/.bin/turbo build
|
setsid --wait ./node_modules/.bin/turbo build
|
||||||
|
|
||||||
echo "==> Linking admin UI static files..."
|
echo "==> Linking admin UI static files..."
|
||||||
cd packages/server
|
cd packages/server
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue