Use setsid to create new session for pnpm commands
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
This commit is contained in:
parent
96e0df2523
commit
4f5b13e4f3
1 changed files with 4 additions and 3 deletions
|
|
@ -302,6 +302,7 @@ in
|
|||
git
|
||||
coreutils
|
||||
gnused
|
||||
util-linux # for setsid
|
||||
# Native build tools for node-gyp (required for utf-8-validate, bufferutil, etc.)
|
||||
stdenv.cc # Full C/C++ toolchain with headers
|
||||
gnumake
|
||||
|
|
@ -408,14 +409,14 @@ in
|
|||
fi
|
||||
|
||||
echo "==> Installing dependencies with pnpm (without scripts)..."
|
||||
pnpm install --no-frozen-lockfile --ignore-scripts
|
||||
setsid pnpm install --no-frozen-lockfile --ignore-scripts
|
||||
|
||||
echo "==> Running native module builds..."
|
||||
# Run rebuild separately - this compiles native modules
|
||||
pnpm rebuild || echo "Warning: Some native modules failed to build, continuing anyway..."
|
||||
setsid pnpm rebuild || echo "Warning: Some native modules failed to build, continuing anyway..."
|
||||
|
||||
echo "==> Building project..."
|
||||
pnpm build
|
||||
setsid pnpm build
|
||||
|
||||
echo "==> Linking admin UI static files..."
|
||||
cd packages/server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue