Commit Graph

174 Commits

Author SHA1 Message Date
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
Arne Keller
4823eef5f9 nodejs: update update script (#401879) 2025-05-09 14:10:30 +02:00
Antoine du Hamel
a949c18fd5 nodejs_24: 24.0.0-rc.3 -> 24.0.0 2025-05-06 16:47:22 +02:00
FliegendeWurst
8e4b415b64 nodejs_24: disable two broken tests
The SQLite test can be re-enabled once we build the RBU extension.
2025-05-03 19:55:45 +02:00
Antoine du Hamel
c5f13f512d nodejs: update update script 2025-04-26 00:33:11 +02:00
Ihar Hrachyshka
dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
Antoine du Hamel
f1690c45b6 nodejs_latest: 23.11.0 -> 24.0.0-rc.2 2025-04-17 00:22:57 +02:00
Antoine du Hamel
bb11d476f5 nodejs: skip tests that are failing on macOS 15.4 2025-04-08 18:49:21 +02:00
K900
68d28ae1bb nodejs_18: hack to fix build
It should be dropped soon.
2025-04-05 21:58:11 +03:00