-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
fishnet: 2.2.4 -> 2.2.5 #113930
fishnet: 2.2.4 -> 2.2.5 #113930
Conversation
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.
The assets don't build on darwin due to the usage of autoPatchelfHook. Can you mark it linux only?
6a2b97b
to
d2d1653
Compare
Sure. What would be the best way to handle the assets on darwin though? Could one just use the unpatched assets for darwin? E.g. just not use autoPatchelfHook on darwin? I sadly have no darwin machine to test this on. |
I think you need to do it manually but I am actually not sure but if you do not have a darwin machine to test this on i don't want to force you into maintaining it for it. |
Hm, yeah. If this would've been an easy fix I could as well just have added it, but this seems like more serious work to be done. Let's just leave it at linux only until someone with a darwin machine is willing to maintain this with me. Shall I set the main package linux only too or is it okay as long as one of the dependencies is linux only? |
Upstream mentions darwin support please mark it broken on darwin. If upstream never mentions darwin support please set platforms to Linux only. |
d2d1653
to
36b143e
Compare
Hm. fishnet upstream progressed to version 2.2.6 in the meantime, however one of the dependencies for 2.2.6 now requires the newest rust stable 1.50.0 which is not merged yet (#112792). We should probably wait for the rust update and then update fishnet to 2.2.6 in one step. |
pkgs/servers/fishnet/default.nix
Outdated
@@ -33,5 +33,6 @@ rustPlatform.buildRustPackage rec { | |||
homepage = "https://github.com/niklasf/fishnet"; | |||
license = licenses.gpl3Plus; | |||
maintainers = with maintainers; [ tu-maurice ]; | |||
broken = !stdenv.isLinux || !(stdenv.isx86_64 || stdenv.isAarch64); |
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.
Can we set platforms to x86_64-linux instead?
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.
Well, you told me earlier to mark it broken, but we sure can also just set the platforms instead.
36b143e
to
66328b6
Compare
Motivation for this change
Based on #113828 but with the necessary upgrade of the assets.
Closes #113828
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)