Skip to content

nodejs: built without Unicode 17 support #520492

Closed

Description

@marcin-serwin

Nixpkgs version

  • Unstable (26.05)

Describe the bug

The nodejs in nixpkgs uses the default icu version which is currently set to icu76 while Unicode 17 support was added in version 78. The upstream provided node binary bundles icu in version 78.2 so it already supports it.

This came up when I was trying to update signal-desktop to version 8.10.0 which adds support for new emojis; the build fails because "🫪" is not recognized as an emoji. Other apps assuming Unicode 17 support may also be affected by this mismatch.

I realize it's very late in the release cycle but I'd appreciate if this was fixed before branch-off/backported to 26.05 because signal-desktop updates must be backported due to upstream preventing old clients from using the service.

Steps to reproduce

$ node 
Welcome to Node.js v24.15.0.
Type ".help" for more information.
> process.versions.icu
'76.1'

Expected behaviour

node uses icu >= 78

Screenshots

No response

Relevant log output

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 7.0.3, NixOS, 26.05 (Yarara), 26.05.20260505.549bd84
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.34.7
  • nixpkgs: /nix/store/h9wn92hv33sizprch7fcp16lfs1k3w5j-source

Notify maintainers

node: @aduh95
icu: @7c6f434c


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Activity

  1. added
    0.kind: bug
    on May 15, 2026
  2. changed the title [-]nodejs: doesn't support Unicode 17[/-] [+]nodejs: built without Unicode 17 support[/+] on May 16, 2026
  3. aduh95 commented on May 16, 2026

    @aduh95
    Contributor

    I don't think nodejs needs special treatment, #520553 sounds like the right approach

  4. marcin-serwin commented on May 16, 2026

    @marcin-serwin
    ContributorAuthor

    It's the right approach for unstable but I don't think that it's backportable

  5. aduh95 commented on May 17, 2026

    @aduh95
    Contributor

    No objections to switching to icu_78 on 26.05 for nodejs* only if #520553 is not backportable

  6. marcin-serwin commented on May 17, 2026

    @marcin-serwin
    ContributorAuthor

    I'll open a PR to staging-26.05 after branch off.

    @7c6f434c is there a reason that icu was two versions behind for the release or was it just a lack of time? I can help with maintenance if it's the latter.

  7. 7c6f434c commented on May 18, 2026

    @7c6f434c
    Member

    It's just almost-infinite blast radius while implementing something scarily complex; adding a new version is safe but advancing the default needs some energy reserves to fix the fallout.

  8. raboof commented on Jun 30, 2026

    @raboof
    Member

    No objections to switching to icu_78 on 26.05 for nodejs* only if #520553 is not backportable

    FWIW this broke onlyoffice (#536824). Now you could argue onlyoffice is abusing the nodejs v8 build, so I'm not really complaining, but it does show generally it's nice to stick to a clear default across nixpkgs.

    This can be closed since #525241 was merged, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions