Commit Graph

199 Commits

Author SHA1 Message Date
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
Winter
2600625d0b nodejs_20: mark as insecure (#511784) 2026-04-20 16:57:55 +00:00
Antoine du Hamel
ca4100c3c0 nodejs_20: mark as insecure 2026-04-20 18:07:36 +02:00
Marcel
f5248024d1 nodejs_{20,22}: disable broken openssl tests 2026-04-17 06:58:07 +02:00
nixpkgs-ci[bot]
5608cc0956 Merge staging-next into staging 2026-03-30 00:28:16 +00:00
dish
989eb19a59 nodejs: remove passthrough nodePackages set
Delete this since nodePackages is getting removed.
2026-03-24 14:45:19 -04:00
Antoine du Hamel
2e2583028d nodejs: fix shared dependencies 2026-03-11 22:18:03 +01:00
Antoine du Hamel
b79bd305ab nodejs: remove custom logic for skipping test 2026-03-07 08:24:56 +01:00
K900
8088225749 Merge remote-tracking branch 'origin/master' into staging-next 2026-02-10 22:00:16 +03:00
Antoine du Hamel
0b7dc4a720 nodejs_25: 25.6.0 -> 25.6.1 2026-02-10 18:23:30 +01:00
Antoine du Hamel
68381b5152 nodejs: add a corepack output 2026-02-07 11:17:04 +01:00
Antoine du Hamel
7459fe949f nodejs: make nodejs_* depend on nodejs-slim_* 2026-02-03 23:54:16 +01:00
Antoine du Hamel
8ac999aa97 nodejs_25: 25.5.0 -> 25.6.0 2026-02-03 13:15:24 +01:00
Antoine du Hamel
7d59736e28 nodejs: use more shared libs 2026-01-07 20:55:35 +01:00
OPNA2608
0f5f872558 nodejs: Exclude non-s390x BE platforms
Based on upstream's support list, only supported BE platforms are s390x-linux and ppc64-aix.

We don't have support for AIX in lib, and I don't know what the exact triplet for that would be, so it's not included here.
2025-12-26 15:05:33 +01:00
Ihar Hrachyshka
a269d900c4 treewide: remove remaining meta = with lib; 2025-12-14 15:16:00 -05:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00