nodejs: 22.21.1 -> 24.11.0 (LTS major bump)
NodeJS 24 is LTS since 24.11.0, released on 2025-10-28.
https://nodejs.org/en/blog/release/v24.11.0
The merge target for this PR is master, to see how many packages would need rebuilding, but the PR is based off of the merge-base between both master and staging so the target can be changed to staging without triggering mass review.
Should this go in before or after 25.11?
UPDATE: 5k+ rebuilds on darwin & linux. I'm resetting the merge target to staging :)
Things done
- Built on platform:
- [ ] x86_64-linux
- [ ] aarch64-linux
- [ ] x86_64-darwin
- [ ] aarch64-darwin
- Tested, as applicable:
- [ ] NixOS tests in nixos/tests.
- [ ] Package tests at
passthru.tests. - [ ] Tests in lib/tests or pkgs/test for functions and "core" functionality.
- [ ] Ran
nixpkgs-reviewon this PR. See nixpkgs-review usage. - [ ] Tested basic functionality of all binary files, usually in
./result/bin/. - Nixpkgs Release Notes
- [ ] Package update: when the change is major or breaking.
- NixOS Release Notes
- [ ] Module addition: when adding a new NixOS module.
- [ ] Module update: when the change is significant.
- [ ] Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.
Add a :+1: reaction to pull requests you find important.
After 25.11 as this seems like a breaking change, and 22 still has security support until 2027-04-30. (Note: the current staging branch will not make it into 25.11)
Cc @aduh95 In case you have comments
Please anyone feel free to take this PR and run with it. I just thought I'd help out, this is as far as I'm familiar with the nodejs packaging in nixpkgs :) consider this my hand-off.
Rebased + added release notes pointing to the upstream migration article.