Skip to content

slskd: nodejs_20 EOL -> nodejs_24#515341

Merged
pyrox0 merged 1 commit into
NixOS:masterfrom
epireyn:update/slskd-nodejs
May 2, 2026
Merged

slskd: nodejs_20 EOL -> nodejs_24#515341
pyrox0 merged 1 commit into
NixOS:masterfrom
epireyn:update/slskd-nodejs

Conversation

@epireyn

@epireyn epireyn commented May 1, 2026

Copy link
Copy Markdown
Contributor

Bumps nodejs version from 20 to 24.

See #515284 for reference (announces nodejs 20 EOL).

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on 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.

@nixpkgs-ci nixpkgs-ci Bot requested review from getchoo, melvyn2 and ppom0 May 1, 2026 08:26
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels May 1, 2026
@epireyn

epireyn commented May 1, 2026

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 515341
Commit: c4cf2d95abf565412d89ac9b1ca02420176b0fde


x86_64-linux

✅ 1 package built:
  • slskd

@ppom0

ppom0 commented May 1, 2026

Copy link
Copy Markdown
Contributor

The upstream Dockerfile uses nodejs_22, maybe we can be conservative and use that major version too instead?

@epireyn

epireyn commented May 1, 2026

Copy link
Copy Markdown
Contributor Author

The upstream Dockerfile uses nodejs_22, maybe we can be conservative and use that major version too instead?

As you wish, I based myself on the requirements needing at least version 18 and took the latest working version available to avoid more work in the near future. But we can follow upstream if you feel more like it

@ppom0

ppom0 commented May 1, 2026

Copy link
Copy Markdown
Contributor

You're right, if it works, that's probably fine. Thanks!

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels May 1, 2026
@pyrox0

pyrox0 commented May 1, 2026

Copy link
Copy Markdown
Member

Would it be possible to unpin the version?(so just using nodejs instead of a version-suffixed attribute)

@epireyn

epireyn commented May 1, 2026

Copy link
Copy Markdown
Contributor Author

It is, but I've always been told it is better to pin versions in packages? I'd like to better grasp the use of pinned version then :)

@qweered qweered mentioned this pull request May 1, 2026
25 tasks
@pyrox0

pyrox0 commented May 1, 2026

Copy link
Copy Markdown
Member

It is, but I've always been told it is better to pin versions in packages? I'd like to better grasp the use of pinned version then :)

I'd only pin a version if it will break without a specific pinned version(because we would rather as many packages as possible use the latest version of dependencies for security and maintainability reasons), has this package broken with non-pinned nodeJS versions before?

@epireyn

epireyn commented May 1, 2026

Copy link
Copy Markdown
Contributor Author

I wouldn't know, it's the first time I've updated it. I just based myself on its explicit use of version 20, and changed that. I will unpin it and see, unless other reviewers are against it

@melvyn2

melvyn2 commented May 1, 2026

Copy link
Copy Markdown
Contributor

I would prefer to track upstream if we have a pinned version- minimizing differences from their setup reduces troubleshooting work I think.

@pyrox0

pyrox0 commented May 2, 2026

Copy link
Copy Markdown
Member

I would prefer to track upstream if we have a pinned version- minimizing differences from their setup reduces troubleshooting work I think.

Sounds good to me.

@pyrox0

pyrox0 commented May 2, 2026

Copy link
Copy Markdown
Member

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 515341 --package slskd.passthru.tests
Commit: c4cf2d95abf565412d89ac9b1ca02420176b0fde


x86_64-linux

✅ 1 package built:
  • slskd.passthru.tests.version

@pyrox0 pyrox0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved automatically following the successful run of nixpkgs-review.

@pyrox0 pyrox0 added this pull request to the merge queue May 2, 2026
@pyrox0 pyrox0 added the backport release-25.11 Backport PR automatically label May 2, 2026
Merged via the queue into NixOS:master with commit ef6a4b4 May 2, 2026
38 of 40 checks passed
@nixpkgs-ci

nixpkgs-ci Bot commented May 2, 2026

Copy link
Copy Markdown
Contributor

Successfully created backport PR for release-25.11:

@github-actions github-actions Bot added the 8.has: port to stable This PR already has a backport to the stable release. label May 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: port to stable This PR already has a backport to the stable release. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. backport release-25.11 Backport PR automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants