fetchurl: Make it overridable.
This provides a workaround for #66499, because this way https://github.com/NixOS/nixpkgs/issues/66499#issuecomment-520277782 self: super: { fetchurl = super.fetchurl.override (old: { curl = old.curl.override { gssSupport = false; # ... }; }); } works as expected.
This commit is contained in:
parent
07ce48cc3a
commit
cd6033ba97
@ -273,7 +273,7 @@ in
|
||||
fetchhg = callPackage ../build-support/fetchhg { };
|
||||
|
||||
# `fetchurl' downloads a file from the network.
|
||||
fetchurl = import ../build-support/fetchurl {
|
||||
fetchurl = makeOverridable (import ../build-support/fetchurl) {
|
||||
inherit lib stdenvNoCC;
|
||||
curl = buildPackages.curl.override rec {
|
||||
# break dependency cycles
|
||||
|
Loading…
Reference in New Issue
Block a user