fetchgit: use buildPackages.cacert

As a data package `buildPackages.cacert` suppose to be equal to `hostPackages.cacert`.
But `hostPackages.cacert` causes needless build of `hostPackages.python` and other packages, which takes time and requires them to support cross-compilation.
This commit is contained in:
volth 2019-01-17 07:52:00 +00:00 committed by GitHub
parent 6a9859c3fc
commit c384dae70b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -197,6 +197,7 @@ in
fetchgit = callPackage ../build-support/fetchgit {
git = buildPackages.gitMinimal;
cacert = buildPackages.cacert;
};
fetchgitPrivate = callPackage ../build-support/fetchgit/private.nix { };