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 { };
|
||||
|
||||
# `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