openssl_1_1: use the same default CA path as 1.0.*

Fixes https://github.com/NixOS/nixpkgs/issues/54437
This commit is contained in:
Vladimír Čunát
2019-01-21 21:15:42 +01:00
parent 8e30701601
commit 6f61d8b0f6
3 changed files with 33 additions and 1 deletions
@@ -134,7 +134,13 @@ in {
openssl_1_1 = common {
version = "1.1.1a";
sha256 = "0hcz7znzznbibpy3iyyhvlqrq44y88plxwdj32wjzgbwic7i687w";
patches = [ ./1.1/nix-ssl-cert-file.patch ];
patches = [
./1.1/nix-ssl-cert-file.patch
(if stdenv.hostPlatform.isDarwin
then ./1.1/use-etc-ssl-certs-darwin.patch
else ./1.1/use-etc-ssl-certs.patch)
];
withDocs = true;
};