Skip to content

Node v18+ (and soon v16) has changed to using quictls instead of openssl, nixpkgs derivation is outdated #200515

Closed as not planned
@CMCDragonkai

Description

@CMCDragonkai

Project description

Official nodejs has changed to using quictls (OpenSSL fork with QUIC support). This can be proven by looking at process.versions of downloaded nodejs binaries from https://nodejs.org/dist/v18.12.1/node-v18.12.1-linux-x64.tar.xz.

However the current nixpkgs derivation for nodejs still uses openssl and not quictls.

Nixpkgs does have quictls already available https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/quictls/default.nix.

This change is necessary for when NodeJS will have proper quic support.

Older NodeJS versions will still need to use the original openssl.

See the change log here: https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V18.md.

And also nodejs/node#45286 which landed in nodejs/node@4124b03...9fb612e.

This change is also occurring for v16 too: nodejs/node#45274

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: enhancementAdd something new6.topic: nodejsNode.js is a free, open-source, cross-platform JavaScript runtime environment

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions