Files
node/tools/nix/ci-shell.nix
T
Filip Skokan c6d52f52c1 tools: share CI and benchmark build configuration
Benchmark builds kept Temporal enabled on macOS after the Nix default
changed, while shared-library CI disabled it. This forced benchmarks
to rebuild V8 instead of reusing the cached derivation.

Define the common build defaults in a Nix shell used by CI, benchmark
builds, and the V8 cache job to keep their configurations aligned.

Signed-off-by: Filip Skokan <panva.ip@gmail.com>
Assisted-by: Codex
PR-URL: https://github.com/nodejs/node/pull/66351
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2026-10-03 14:08:27 +00:00

30 lines
732 B
Nix

args@{
pkgs ? import ./pkgs.nix { },
...
}:
import ../../shell.nix (
{
inherit pkgs;
useSeparateDerivationForV8 = true;
loadJSBuiltinsDynamically = false;
devTools = [ ];
benchmarkTools = [ ];
}
// pkgs.lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin (
# Disable optional features on Darwin for coverage and faster CI.
builtins.mapAttrs (n: v: false) (
pkgs.lib.filterAttrs (n: v: builtins.match "with[A-Z].+" n != null) (
builtins.functionArgs (import ../../shell.nix)
)
)
// {
withSSL = true; # no-SSL coverage is ensured by Jenkins
extraConfigFlags = [
"--without-inspector"
"--without-node-options"
];
}
)
// args
)