perl/ssleay: fix openssl prefix
This is quite ugly, but I found no other way. :multiple-outputs:
This commit is contained in:
parent
73688ec63b
commit
13cae540c8
@ -5231,8 +5231,14 @@ rec {
|
||||
sha256 = "1fkpdlpg99rdq2vlm6bgmqc8iazhcrfzvbpwxnn20k0viwpy7v28";
|
||||
};
|
||||
buildInputs = [ pkgs.openssl ];
|
||||
OPENSSL_PREFIX = pkgs.openssl;
|
||||
doCheck = false; # Test performs network access.
|
||||
preConfigure = ''
|
||||
mkdir openssl
|
||||
ln -s ${pkgs.openssl.out}/lib openssl
|
||||
ln -s ${pkgs.openssl.bin}/bin openssl
|
||||
ln -s ${pkgs.openssl.dev}/include openssl
|
||||
export OPENSSL_PREFIX=$(realpath openssl)
|
||||
'';
|
||||
meta = {
|
||||
description = "Perl extension for using OpenSSL";
|
||||
license = "SSLeay";
|
||||
|
Loading…
Reference in New Issue
Block a user