fetchurl: Make it overridable using callPackage
(#66503)
fetchurl: Make it overridable using `callPackage`
This commit is contained in:
commit
096031a513
@ -273,7 +273,7 @@ in
|
|||||||
fetchhg = callPackage ../build-support/fetchhg { };
|
fetchhg = callPackage ../build-support/fetchhg { };
|
||||||
|
|
||||||
# `fetchurl' downloads a file from the network.
|
# `fetchurl' downloads a file from the network.
|
||||||
fetchurl = import ../build-support/fetchurl {
|
fetchurl = makeOverridable (import ../build-support/fetchurl) {
|
||||||
inherit lib stdenvNoCC;
|
inherit lib stdenvNoCC;
|
||||||
curl = buildPackages.curl.override rec {
|
curl = buildPackages.curl.override rec {
|
||||||
# break dependency cycles
|
# break dependency cycles
|
||||||
|
Loading…
Reference in New Issue
Block a user