-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
fetchurl: Make it overridable using callPackage
#66503
Conversation
As I was expecting, this doesn't actually change any semantics, so there's no rebuilds, so this can go to master :D. And judging from the evaluation performance report, this isn't that bad for performance either (though it's not negligible):
Ping @grahamc because he was interested in this |
04bbb1b
to
ee55f19
Compare
Great, I've changed base to |
@GrahamcOfBorg eval |
Does changing base prevent ofborg to eval? I don't see it pop up in the Github checks. |
This provides a workaround for NixOS#66499, because this way NixOS#66499 (comment) self: super: { fetchurl = super.fetchurl.override (old: { curl = old.curl.override { gssSupport = false; # ... }; }); } works as expected.
ee55f19
to
cd6033b
Compare
Please include the motivation in the commit message instead of only referring to a ticket. |
@FRidh I think he did? |
Yes, I have in there:
Happy to elaborate more if given some hints what to elaborate on. |
Motivation for this change
This provides a workaround for #66499, because this way #66499 (comment)
works as expected.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @infinisil via