perl/ssleay: fix openssl prefix

This is quite ugly, but I found no other way.

:multiple-outputs:
This commit is contained in:
Mathijs Kwik
2013-08-21 17:35:53 +02:00
committed by Eelco Dolstra
parent 73688ec63b
commit 13cae540c8
+7 -1
View File
@@ -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";