Merge pull request #80991 from stigtsp/package/perl-mozilla-ca-cert-file-patch

perlPackages.MozillaCA: replace outdated cacert.pem with pkgs.cacert
This commit is contained in:
Florian Klink 2020-02-29 22:29:13 -08:00 committed by GitHub
commit 0193158b32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13135,6 +13135,11 @@ let
url = mirror://cpan/authors/id/A/AB/ABH/Mozilla-CA-20180117.tar.gz;
sha256 = "f2cc9fbe119f756313f321e0d9f1fac0859f8f154ac9d75b1a264c1afdf4e406";
};
postPatch = ''
ln -s --force ${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt lib/Mozilla/CA/cacert.pem
'';
meta = {
description = "Mozilla's CA cert bundle in PEM format";
license = stdenv.lib.licenses.mpl20;