fetchurl: Make it overridable using callPackage
(#66503)
fetchurl: Make it overridable using `callPackage`
This commit is contained in:
commit
096031a513
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue