Commit Graph

215 Commits

Author SHA1 Message Date
Antoine du Hamel
3256916511 nodejs: move gtest to checkInputs
It does not really belong to `buildInputs`.
2026-11-15 16:45:13 +01:00
Antoine du Hamel
927eeda6c6 nodejs_27: init at 27.0.0-alpha.0.0.0 2026-11-07 11:09:06 +01:00
Antoine du Hamel
2c2f3a06b8 nodejs-slim: make all requisites overridable
For some reason, only `openssl` was overridable.
2026-11-07 10:53:42 +01:00
Antoine du Hamel
187cc6729b brotli: fix out-of-bound write 2026-10-21 14:02:44 +02:00
Antoine du Hamel
83f7055225 Merge branch 'staging-next' of https://github.com/NixOS/nixpkgs 2026-10-21 14:01:08 +02:00
Antoine du Hamel
607036aace nodejs_22,nodejs_26: fix build 2026-10-21 13:28:38 +02:00
Antoine du Hamel
1ecf80b135 nodejs: remove redundent configure flags (#574436) 2026-10-19 10:38:38 +00:00
Antoine du Hamel
a0857e15ce nodejs: remove redundent configure flags 2026-10-15 13:21:35 +02:00
Antoine du Hamel
21c6703f7f nodejs: remove nghttp3 and ngtcp2 from requisites (#574405) 2026-10-15 10:47:25 +00:00
Antoine du Hamel
d83dcc1151 nodejs: remove nghttp3 and ngtcp2 from requisites
Those are only used when QUIC support is enabled, but it is disabled by
default and we are not enabling it.
2026-10-15 12:12:39 +02:00
Antoine du Hamel
2ded032605 nodejs: clean up checkFlags (#571858) 2026-10-09 23:36:44 +00:00
Antoine du Hamel
336f966004 nodejs: clean up checkFlags
- remove optionals for unsupported/EOL branches
- do not skip always passing tests
2026-10-09 16:45:58 +02:00
Antoine du Hamel
55af393a55 nodejs: remove remaining dev outputs from requisites
The previous approach consisted on using links to allow reusing the
potentially cached dev outputs. Unfortunately, I failed to consider that
it would mean the `-bin` and `-static` outputs would be dragged along,
so copying ends up being less expensive.
2026-10-09 11:28:40 +02:00
Antoine du Hamel
440348bef2 nodejs: do not copy headers in the output 2026-10-08 16:59:54 +02:00
Antoine du Hamel
3e46c9c958 nodejs: use bashNonInteractive instead of bashInteractive 2026-10-08 14:59:15 +02:00
Antoine du Hamel
cc9c073bd1 nodejs: remove dev outputs from requisites
Assisted-by: Devin
2026-10-08 13:51:24 +02:00
nixpkgs-ci[bot]
6eeb94e60f Merge staging-next into staging 2026-09-22 12:13:53 +00:00
Antoine du Hamel
f1b00de6c1 nodejs_26: 26.9.0 -> 26.10.0 2026-09-22 11:38:52 +02:00
Antoine du Hamel
1a75fb7d3d nodejs: use shared simdutf only on versions that do not force-use the… (#564657) 2026-09-19 16:51:58 +00:00
Antoine du Hamel
eaed4506c4 nodejs: use shared simdutf only on versions that do not force-use the vendored one 2026-09-18 18:54:14 +02:00
Antoine du Hamel
089b82f934 nodejs_26: disable failing test 2026-09-18 14:10:26 +02:00
Antoine du Hamel
adceae5479 nodejs_26: reuse abseil-cpp and libhwy
Instead of building the vendored ones
2026-09-16 21:16:59 +02:00
liberodark
4470fca576 nodejs_22: fix riscv64-linux build 2026-08-23 09:35:26 +02:00
kataokatsuki
a976d21b1b nodejs: fix cross-compilation
configureScript interpolates python.interpreter, which resolves to the
hostPlatform interpreter. When cross-compiling, that binary cannot be executed
on the build platform:

  /nix/store/...-python3-aarch64-unknown-linux-musl-3.13.14/bin/python3.13:
  cannot execute binary file: Exec format error

python is also listed in nativeBuildInputs, where splicing substitutes the
buildPackages variant. The previous python.executable was a bare basename, so
it resolved to that build-platform interpreter through PATH.

Use python.pythonOnBuildForHost.interpreter, which refers to the same
derivation that nativeBuildInputs puts on PATH. For native builds the value is
unchanged.
2026-07-27 14:36:48 +09:00
Antoine du Hamel
84d051dfe8 nodejs: enable use-prefix-to-find-headers (#539228) 2026-07-09 07:55:59 +00:00
K900
b0b1fcd402 Merge remote-tracking branch 'origin/staging-next' into staging 2026-07-09 08:54:20 +03:00
Gaétan Lepage
31220fd494 nodejs_24: fix riscv64-linux build (#539503) 2026-07-08 15:56:20 +00:00
liberodark
a6110e0e9f nodejs_24: fix riscv64-linux build 2026-07-08 10:12:45 +02:00
Sefa Eyeoglu
0dafa129ec nodejs: enable use-prefix-to-find-headers
This is just a flag to allow node-gyp to find node sources
automatically.

This has been supported since Node.js v22 and node-gyp 10.1.0.

9936d4586d
329873141f

This is also done on Alpine: c4989684c6/main/nodejs/APKBUILD (L281)

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2026-07-07 19:12:44 +02:00
Martin Weinelt
329a50f3f0 nodejs: require big-parallel system feature (#536180) 2026-06-28 11:00:02 +00:00
Antoine du Hamel
7ea4c90475 nodejs: call configure.py directly (#536002) 2026-06-28 07:56:27 +00:00
Martin Weinelt
9714f07c1f nodejs: require big-parallel system feature
This helps schedule it onto a bigger build slot on hydra.
2026-06-28 04:35:28 +02:00
Antoine du Hamel
504f6c9307 nodejs_24: fix fs tracking warnings on Darwin 2026-06-27 15:39:24 +02:00
kataokatsuki
b545bebf42 nodejs: call configure.py directly
nodejs.nix currently creates configureScript with writeScript. This produces an
executable text file without a shebang, which configurePhase then runs as
$configureScript.

The wrapper only invokes configure.py through Python, so call configure.py
through python.interpreter directly instead. This avoids the shebang-less
wrapper path and stops relying on python.executable being resolved through
PATH.
2026-06-27 20:05:21 +09:00
Antoine du Hamel
cba47cf5e8 nodejs_24: fix merve dependency 2026-06-26 23:06:07 +02:00
Marcin Serwin
dcc6f5d962 nodejs: pin icu to newer version
Not-cherry-picked-because: icu will be advanced globally on the unstable branch by https://github.com/NixOS/nixpkgs/pull/520553
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
(cherry picked from commit 4b965d7e22)
2026-06-22 08:19:27 +02:00
nixpkgs-ci[bot]
d4efabaaf1 Merge staging-next into staging 2026-06-20 00:46:42 +00:00
liberodark
91c2a7ce8d nodejs_24: fix riscv64-linux build 2026-06-19 18:54:26 +02:00
nixpkgs-ci[bot]
08a50cd5bf Merge staging-next into staging 2026-05-16 12:22:52 +00:00
Antoine du Hamel
50526230a4 nodejs_24: skip tests failing on Darwin 2026-05-15 18:24:48 +02:00
Antoine du Hamel
8942d5b6f4 Reapply "nodejs_24: fix majorVersion check" (#517830) 2026-05-08 20:47:37 +00:00
Antoine du Hamel
9fafdc761f Reapply "nodejs_24: fix majorVersion check"
This reverts commit 99a42f0985.
2026-05-08 20:58:07 +02:00
Antoine du Hamel
a9080d5fcf nodejs: fix simdutf build on darwin 2026-05-08 00:35:20 +02:00
Antoine du Hamel
7aaed16937 nodejs_26: 26.0.0 -> 26.1.0 2026-05-07 12:46:36 +02:00
Antoine du Hamel
99a42f0985 Revert "nodejs_24: fix majorVersion check" 2026-05-01 08:26:37 +02:00
Antoine du Hamel
7c7cbc8027 nodejs: remove nghttp2 patch 2026-04-29 18:23:57 +02:00
Antoine du Hamel
8f4f580dc6 nodejs_26: 26.0.0-rc.1 -> 26.0.0-rc.2 (#514572) 2026-04-29 09:07:38 +00:00
Antoine du Hamel
91c7194cbb nodejs_24: fix majorVersion check (#514675) 2026-04-29 08:58:31 +00:00
Antoine du Hamel
02f06e665d nodejs_26: 26.0.0-rc.1 -> 26.0.0-rc.2 2026-04-29 10:56:38 +02:00
Antoine du Hamel
12d8751925 nodejs_24: fix majorVersion check 2026-04-29 10:23:10 +02:00