fetchurl: Should use buildPackages.curl for build-time dep

This commit is contained in:
John Ericson 2018-01-09 18:38:52 -05:00
parent 3d59b4d285
commit 7a3a8b8529

View file

@ -183,7 +183,7 @@ with pkgs;
inherit stdenv;
# On darwin, libkrb5 needs bootstrap_cmds which would require
# converting many packages to fetchurl_boot to avoid evaluation cycles.
curl = curl.override (lib.optionalAttrs stdenv.isDarwin { gssSupport = false; });
curl = buildPackages.curl.override (lib.optionalAttrs stdenv.isDarwin { gssSupport = false; });
};
fetchRepoProject = callPackage ../build-support/fetchrepoproject { };