191 Commits
Author SHA1 Message Date
Antoine du HamelandGitHub 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 LepageandGitHub 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.

https://github.com/nodejs/node/commit/9936d4586dcfc96cecf18fbdb65e7731ade8bbe0
https://github.com/nodejs/node-gyp/commit/329873141f0d3e3787d3c006801431da04e4ed0c

This is also done on Alpine: https://github.com/alpinelinux/aports/blob/c4989684c6e9ea277530c7f3ec8c838ee0024ca0/main/nodejs/APKBUILD#L281

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2026-07-07 19:12:44 +02:00
Martin WeineltandGitHub 329a50f3f0 nodejs: require big-parallel system feature (#536180) 2026-06-28 11:00:02 +00:00
Antoine du HamelandGitHub 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 SerwinandVladimír Čunát 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 4b965d7e22e3f82c9e9c77dd51bdd70679f0a904)
2026-06-22 08:19:27 +02:00
nixpkgs-ci[bot]andGitHub 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]andGitHub 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 HamelandGitHub 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 HamelandGitHub 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 HamelandGitHub 8f4f580dc6 nodejs_26: 26.0.0-rc.1 -> 26.0.0-rc.2 (#514572) 2026-04-29 09:07:38 +00:00
Antoine du HamelandGitHub 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
WinterandGitHub 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]andGitHub 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 HrachyshkaandWolfgang Walther 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]andGitHub 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