Commit graph

182 commits

Author SHA1 Message Date
Martin Weinelt
93070f18ba nodejs: require big-parallel system feature
This helps schedule it onto a bigger build slot on hydra.

(cherry picked from commit 9714f07c1f)
2026-06-28 11:08:04 +00:00
Antoine du Hamel
6170dfc82b
[Backport staging-26.05] nodejs_24: fix fs tracking warnings on Darwin (#536225) 2026-06-28 08:46:42 +00:00
kataokatsuki
75bf6c70e7 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.

(cherry picked from commit b545bebf42)
2026-06-28 08:02:59 +00:00
Antoine du Hamel
e4ef061e5a nodejs_24: fix fs tracking warnings on Darwin
(cherry picked from commit 504f6c9307)
2026-06-28 08:02:44 +00:00
Antoine du Hamel
8e49b57436 nodejs_24: fix merve dependency
(cherry picked from commit cba47cf5e8)
2026-06-27 11:10:57 +00:00
nixpkgs-ci[bot]
0c0891a9cb
Merge release-26.05 into staging-next-26.05 2026-06-21 00:57:18 +00:00
liberodark
40ff6979d4 nodejs_24: fix riscv64-linux build
(cherry picked from commit 91c2a7ce8d)
2026-06-19 20:03:02 +00:00
Marcin Serwin
4b965d7e22
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>
2026-05-28 17:29:59 +02:00
Antoine du Hamel
50526230a4
nodejs_24: skip tests failing on Darwin 2026-05-15 18:24:48 +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
Antoine du Hamel
b97f76c701
nodejs: disable failing test on darwin 2025-10-13 22:33:39 +02:00
Antoine du Hamel
2e667d8bf9
nodejs_24: skip failing test on darwin 2025-10-12 09:31:44 +02:00
K900
78a5679182 nodejs: skip tests that fail on latest Ope 2025-10-08 08:28:41 +03:00
Antoine du Hamel
b7b1ce197f
nodejs_22: 22.19.0 -> 22.20.0 2025-09-25 14:47:44 +02:00
dish
d566fed62e
nodejs*: remove http-parser dependency
http-parser has been unmaintained for a long time, and is marked to only
be enabled with nodejs versions older than 11.4, which was released back
in 2018, and the 11.x series was made EOL around that same time.
Therefore, there is absolutely no need to keep this around.
2025-09-03 12:21:07 -04:00
nixpkgs-ci[bot]
28a77664bb
Merge master into staging-next 2025-08-31 18:04:38 +00:00
Alyssa Ross
14b9d25553 nodejs: disable test failing in sandbox with musl 2025-08-31 18:54:56 +02:00
Alex James
8362b1826b
nodejs: fix checkPhase with sandbox=relaxed on Darwin
The following tests fail on Darwin with the sandbox enabled [1]:

not ok 2612 parallel/test-runner-output
not ok 3053 parallel/test-tls-get-ca-certificates-system
not ok 3054 parallel/test-tls-get-ca-certificates-system-without-flag
not ok 3363 parallel/test-watch-file-shared-dependency
not ok 4057 parallel/test-runner-complex-dependencies
not ok 4058 parallel/test-runner-global-setup-watch-mode
not ok 4228 sequential/test-watch-mode-watch-flags

Node.js uses Security.framework to read the system CA certificates from
the system keychain on Darwin. Fix the tls-get-ca-certificates-system
tests by adding the files and Mach services used by Security.framework
to the sandbox profile. Also allow the FSEvents Mach service as the
runner and watch tests use FSEvents on Darwin.

[1]: https://gist.github.com/al3xtjames/0eb3c30d37c1ebab99968c62ee544300
2025-08-30 01:27:56 -05:00
Alex James
1bc6e6c095
nodejs: use sigtool's codesign in test-macos-app-sandbox
test-macos-app-sandbox uses the system-provided codesign binary
(/usr/bin/codesign) to apply entitlements to an app bundle. This fails
in the sandbox as /usr/bin/codesign is not accessible. Patch the test to
instead use the codesign binary from sigtool. The test was updated to
pass the executable path to codesign as sigtool can't handle the bundle
path.
2025-08-30 01:27:52 -05:00
Antoine du Hamel
b6aaf4d7ba
nodejs: do not skip passing test
The fix was upstreamed, so we can reduce the list of skipped tests.
2025-08-21 00:31:53 +02:00
Wolfgang Walther
90604d95bc
Merge branch 'staging-next' into staging 2025-07-24 14:33:09 +02:00
Wolfgang Walther
5a0711127c
treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Philip Taron
77dca5875a
treewide: populate arch and platform for more node packages (#422938) 2025-07-15 09:18:57 -07:00
Colin
b3daf8c3a5 nodejs: split destCPU into stdenv.$platform.node
this architecture mapping is used broadly in the node ecosystem.
an assortment of tools and hooks, like buildNpmPackage or
pnpm.configHook, will benefit from reusing these values. placing them in
stdenv makes sense because (1) several of these tools don't currently
depend on nodejs, and may even be available where nodejs is not and (2)
`stdenv.{build,host,target}Platform` seems to be less error-prone than
`pkgs*.nodejs.{os,arch}` -- especially for setup hooks where the offsets
are shifted.
2025-07-07 03:07:58 +00:00
Antoine du Hamel
cfeaf14c52
nodejs*: skip some flaky tests 2025-06-14 11:07:20 +02:00
alyaeanyx
e76c689a3d nodejs: fix dev output 2025-05-18 20:25:46 +02:00
Tom van Dijk
1947acf929 nodejs_20: unbreak on x86_64-darwin 2025-05-12 02:07:32 +05:30