Add CC/CXX env vars, run scripts sequentially
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
9dd2de2ff5
commit
32aff3e6b6
1 changed files with 7 additions and 1 deletions
|
|
@ -322,6 +322,11 @@ in
|
|||
# CRITICAL: pnpm fails without TTY unless CI=true is set
|
||||
# See: https://github.com/pnpm/pnpm/issues/6434
|
||||
CI = "true";
|
||||
# Set CC/CXX for node-gyp
|
||||
CC = "${pkgs.stdenv.cc}/bin/cc";
|
||||
CXX = "${pkgs.stdenv.cc}/bin/c++";
|
||||
# Limit concurrent scripts to avoid race conditions
|
||||
npm_config_jobs = "1";
|
||||
};
|
||||
|
||||
serviceConfig = {
|
||||
|
|
@ -396,7 +401,8 @@ in
|
|||
fi
|
||||
|
||||
echo "==> Installing dependencies with pnpm..."
|
||||
pnpm install --no-frozen-lockfile
|
||||
# Use --child-concurrency=1 to run install scripts sequentially (avoids race conditions)
|
||||
pnpm install --no-frozen-lockfile --child-concurrency=1
|
||||
|
||||
echo "==> Building project..."
|
||||
pnpm build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue