-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
roon-server: revamp #93715
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
roon-server: revamp #93715
Conversation
|
||
installPhase = '' | ||
runHook preInstall |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd bet the runHook
s aren't actually required for proper operation... are they?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably not, but because I'm overriding the whole phase I thought I'd keep them.
The zlib hack from #92945 isn't required anymore, right? |
As far as I understand this is taken care of by the patchelf hook — that said I must say I am not a user of roon myself, so couldn't confirm with 100% certainty. |
Hi everyone, I'm glad that the roon-server package is getting more attention. I have to admit it makes me feel a bit sad that this PR was merged before mine, I worked really hard on it and was hoping it'd get merged. With that being said, would someone be able to explain to me:
Thanks for your help and doing this work |
There are various ways, e.g. use parameter |
@vcunat It's being handled by the autoPatchelfHook.
The original Nix code was a bit "traditional" in that it manually tried to patchelf binaries, and so missed patchelf-ing zlib into the mono runtime. My changes uses the
You can add it in an overlay, but i think you'd benefit from going to |
👍 thanks for the context this is super useful! |
Motivation for this change
This builds on #92945 by completely revamping the
roon-server
derivation, and in the process fixing numerous issues with it.With these changes I now have a fully functioning Roon on NixOS setup for the first time!
cc. @eljojo
cc. @flokli @andir
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)