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
libuv: 1.7.5 -> 1.9.0 #14973
libuv: 1.7.5 -> 1.9.0 #14973
Conversation
@@ -81,5 +81,5 @@ in | |||
} | |||
// | |||
mapAttrs (v: h: mkWithAutotools stable (toVersion v) h) { | |||
v1_7_5 = "18x6cy2xn31am97vn6jli7kmb2fbp4c8kmv7jm97vggh0x55flsc"; | |||
v1_9_0 = "0sq8c8n7xixn2xxp35crprvh35ry18i5mcxgwh12lydwv9ks0d4k"; |
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.
Any reason to remove the older version? If we're just going to be supporting one version of libuv anyway, we might want to remove this machinery for providing multiple versions.
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.
@adnelson I guess I should have asked someone before I did the PR. I first exposed both versions and then changed it to only expose one default version. I basically was just unsure what the idiomatic/right nix way would be for this.
Thanks for your feedback. I will update the PR to expose both versions.
@adnelson @joachifm The ci check now failed twice with the same error:
Is that indeed a networking problem? At least I don't have any other ideas about this. Just odd that it would happen twice in a row. |
v1_7_5 = "18x6cy2xn31am97vn6jli7kmb2fbp4c8kmv7jm97vggh0x55flsc"; | ||
} | ||
// |
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.
Why not just
mapAttrs (v: h: mkWithAutotools unstable (toVersion v) h) {
v1_7_5 = "18x6cy2xn31am97vn6jli7kmb2fbp4c8kmv7jm97vggh0x55flsc";
v1_9_0 = "0sq8c8n7xixn2xxp35crprvh35ry18i5mcxgwh12lydwv9ks0d4k";
}
Old versions should not be retained unless they are specifically required for other software to remain functional. Otherwise nixpkgs would fill up with unused cruft. We shouldn't retain 1.7.5 unless it's known for a fact that something breaks on 1.9, which is unlikely because libuv uses semantic versioning. |
So if we don't want to retain multiple versions, let's not do the whole Even better, we could remove the |
I updated the PR to only use |
I updated the rather ancient pyuv version and adjusted the patch. |
Well sadly the job reached its time limit ;( |
I tried testing this change with nox-review on my local nixos machine but it fails because of some node-gyp error building a nodejs library: https://gist.github.com/gilligan/b5f8a9d678580883e6930b31f3ca59ab So I am stuck once again. |
@gilligan try running |
@FRidh here is the output of |
Excellent simplification. I'm fine merging it personally. The node stuff is pretty flaky in my experience... |
Things done