Repository navigation
Conversation
upstream nodejs bug prevents draupnir from working nodejs/node#65446 see also NixOS#548839 switch to nodejs_22 for now looks to work stable
On startup draupnir tries to read a branchfile if not found it will show an error in the logs. This patch provides the branch.txt also to the runtime.
TuxCoder
marked this pull request as draft
August 30, 2026 09:36
TuxCoder
marked this pull request as ready for review
August 30, 2026 13:46
Contributor
Author
|
this error is currently not caught by the nixosTests:
|
Member
|
I'm not sure this is the right solution. I can't find a concrete nodejs support policy for Draupnir, but the install from source documentation points to NodeJS 24 as only supported version. Personally, I feel like this is the wrong way to fix this compared to reverting whichever NodeJS 24 bump broke NodeJS itself. |
Member
|
Had a conversation with upstream: NodeJS 24 is the minimum NodeJS version that is supported. 22 may work but is an unsupported configuration and untested. Additionally, I spent some time on making a PR to fix the tests not behaving as intended, and I don't seem to be able to reproduce this? |
Member
6 of 13 tasks
Contributor
Author
|
close |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Change nodejs version to v22:
This prevents an upstream bug introduced in #548826
and still open here nodejs/node#65446
Add
branch.txtto the runtime folder:This fixes an error while startup of the daemon that files is not found.
Things done
I only tested this patch live against nixos 26.05 stable.
Runs currently on milliways.info and looks good to me.
tested branch: https://github.com/TuxCoder/nixpkgs/tree/draupnir_nodejs_hotfix_26_05
Maintainer: @TheArcaneBrony
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.