Skip to content

mainsail: fix build by pinning to nodejs_20#477516

Merged
Aleksanaa merged 1 commit into
NixOS:masterfrom
9R:mainsail_fix
Jan 8, 2026
Merged

mainsail: fix build by pinning to nodejs_20#477516
Aleksanaa merged 1 commit into
NixOS:masterfrom
9R:mainsail_fix

Conversation

@9R

@9R 9R commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

Resolves #477515

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.

Add a 👍 reaction to pull requests you find important.

@9R 9R mentioned this pull request Jan 6, 2026
@nixpkgs-ci nixpkgs-ci Bot requested review from Wulfsta and lovesegfault January 6, 2026 18:45
@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 Jan 6, 2026
@Wulfsta

Wulfsta commented Jan 6, 2026

Copy link
Copy Markdown
Member

It looks like mainsail targets node 20 in their Dockerfile; if we are going to pin a version it should probably be the same as upstream, no?

@9R

9R commented Jan 6, 2026

Copy link
Copy Markdown
Contributor Author

It looks like mainsail targets node 20 in their Dockerfile; if we are going to pin a version it should probably be the same as upstream, no?

Ah, yes. I just pinned to a version that build successfully, but pinning to the version that is recommended upstream makes sense. I have adjusted the PR accordingly.

@9R 9R changed the title mainsail: fix build by pinning to nodejs_22 mainsail: fix build by pinning to nodejs_20 Jan 6, 2026

@bendlas bendlas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Tested on my raspi3 voron0

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". labels Jan 7, 2026
@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Jan 7, 2026
@Aleksanaa Aleksanaa added this pull request to the merge queue Jan 8, 2026
Merged via the queue into NixOS:master with commit 5afcffa Jan 8, 2026
35 of 37 checks passed
hydra-channel-updater Bot pushed a commit to nixos-cuda/nixpkgs that referenced this pull request May 17, 2026
Resolves NixOS#515284.

I pinned the version because it does not build with nodejs 24, and is known to have had issues in the past (NixOS#477516).

Would be awesome if maintainers could open an issue upstream for them to update their requirements :).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 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: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build failure: mainsail

4 participants