perl-IO-Socket-SSL: fix default path to SSL certs
commit98096004ce316969e3b4494d102c1fb172b7e474
authorRobert Helgesson <robert@rycee.net>
dateFri 17 Jun 2016, 10:39 (10 years ago)
parentfcf72b8
pkgs/top-level/perl-packages.nix+5
@@ -6563,6 +6563,11 @@ let self = _self // overrides; _self = with self; {
65636563 sha256 = "723517ea71f90105579e7db7a1a2e053bf5c8142a187df8bc1fe3881c3383f67";
65646564 };
65656565 propagatedBuildInputs = [ NetSSLeay URI ];
6566+ # Fix path to default certificate store.
6567+ postPatch = ''
6568+ substituteInPlace lib/IO/Socket/SSL.pm \
6569+ --replace "\$openssldir/cert.pem" "/etc/ssl/certs/ca-certificates.crt"
6570+ '';
65666571 meta = {
65676572 homepage = https://github.com/noxxi/p5-io-socket-ssl;
65686573 description = "Nearly transparent SSL encapsulation for IO::Socket::INET";