fetchurl: Make it overridable using callPackage#66503
Merged
infinisil merged 1 commit intoNixOS:masterfrom Aug 12, 2019
Merged
Conversation
lilyball
reviewed
Aug 12, 2019
Member
|
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
Contributor
Author
Great, I've changed base to |
Contributor
Author
|
@GrahamcOfBorg eval |
Contributor
Author
|
Does changing base prevent ofborg to eval? I don't see it pop up in the Github checks. |
11 tasks
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
Member
|
Please include the motivation in the commit message instead of only referring to a ticket. |
Member
|
@FRidh I think he did? |
Contributor
Author
|
Yes, I have in there: Happy to elaborate more if given some hints what to elaborate on. |
This was referenced Aug 12, 2019
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.
Motivation for this change
This provides a workaround for #66499, because this way #66499 (comment)
works as expected.
Things done
sandboxinnix.confon non-NixOS)nix-shell -p nix-review --run "nix-review wip"./result/bin/)nix path-info -Sbefore and after)Notify maintainers
cc @infinisil via