fetchurl: Make it overridable using callPackage (#66503)

fetchurl: Make it overridable using `callPackage`
This commit is contained in:
Silvan Mosberger 2019-08-12 19:03:30 +02:00 committed by GitHub
commit 096031a513
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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