Skip to content

Patch brotli for Node 24 on the cached nodejs pin - #505

Merged
rahultee merged 1 commit into
mainfrom
victor/node24-brotli-override
Oct 22, 2026
Merged

rahultee merged 1 commit into
mainfrom
victor/node24-brotli-override

Conversation

@vlinkz

@vlinkz vlinkz commented Oct 22, 2026

Copy link
Copy Markdown
Member

Why

#499 pinned Node 24 to a nixpkgs staging commit (dc0146be), which Hydra doesn't build. That forced ~220 uncached rebuilds (perl, python3, openssl, ...) and the goval nixmodules disk image job timed out.

What changed

Drop the nixpkgs-node24 input. Build Node 24.22.1 from the existing nixpkgs-nodejs pin, with the same brotli CVE patch nixpkgs already applies to the other Node majors there. That patched brotli is the same derivation Node 22 uses, so it's already cached.

Remove brotli-patched when nixpkgs-nodejs is bumped past the upstream fix, or the patch will be applied twice.

Test plan

nix build --dry-run .#nodejs-24 .#angular-node-24 only builds nodejs-slim-24.22.1, nodejs-24.22.1 and the module wrappers.

Rollout

  • This is fully backward and forward compatible

@vlinkz
vlinkz requested a review from a team as a code owner October 22, 2026 21:43
@vlinkz
vlinkz requested review from airportyh and removed request for a team October 22, 2026 21:43
@rahultee
rahultee merged commit 2231b6c into main Oct 22, 2026
8 of 9 checks passed
@rahultee
rahultee deleted the victor/node24-brotli-override branch October 22, 2026 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants