Skip to content

Commit

Permalink
fetchurl: Make it overridable using callPackage (#66503)
Browse files Browse the repository at this point in the history
fetchurl: Make it overridable using `callPackage`
  • Loading branch information
infinisil authored Aug 12, 2019
2 parents 7115780 + cd6033b commit 096031a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 096031a

Please sign in to comment.