mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
perl-IO-Socket-SSL: fix default path to SSL certs
This commit is contained in:
parent
fcf72b82ae
commit
98096004ce
1 changed files with 5 additions and 0 deletions
|
@ -6563,6 +6563,11 @@ let self = _self // overrides; _self = with self; {
|
|||
sha256 = "723517ea71f90105579e7db7a1a2e053bf5c8142a187df8bc1fe3881c3383f67";
|
||||
};
|
||||
propagatedBuildInputs = [ NetSSLeay URI ];
|
||||
# Fix path to default certificate store.
|
||||
postPatch = ''
|
||||
substituteInPlace lib/IO/Socket/SSL.pm \
|
||||
--replace "\$openssldir/cert.pem" "/etc/ssl/certs/ca-certificates.crt"
|
||||
'';
|
||||
meta = {
|
||||
homepage = https://github.com/noxxi/p5-io-socket-ssl;
|
||||
description = "Nearly transparent SSL encapsulation for IO::Socket::INET";
|
||||
|
|
Loading…
Reference in a new issue