git.iko.soy/typeable/nixpkgs
on master help sign in
perlPackages.NetSSLeay: link openssl pkgconfig files

Instead of linking the lib folder with the libraries, link the lib directory from the dev output containing the pkgconfig files. This is enough for finding the libs and fixes a build failure with libressl.

commit93758f6b2fd4da1db7868138fcb2236145dcfcd3 authorFranz Pletz <fpletz@fnordicwalking.de> dateTue 2 Aug 2016, 21:09 (10 years ago) parent1c00f25
1 file changed+1−2
pkgs/top-level/perl-packages.nix+1−2
pkgs/top-level/perl-packages.nix+1−2
@@ -9583,11 +9583,10 @@ let self = _self // overrides; _self = with self; {
95839583 url = "mirror://cpan/authors/id/M/MI/MIKEM/${name}.tar.gz";
95849584 sha256 = "06h6wbr923jxmazmv5shdg1767s7r60bvzcza52dk31yckks6l31";
95859585 };
9586− buildInputs = [ pkgs.openssl ];
95879586 doCheck = false; # Test performs network access.
95889587 preConfigure = ''
95899588 mkdir openssl
9590− ln -s ${pkgs.openssl.out}/lib openssl
9589+ ln -s ${pkgs.openssl.dev}/lib openssl
95919590 ln -s ${pkgs.openssl.bin}/bin openssl
95929591 ln -s ${pkgs.openssl.dev}/include openssl
95939592 export OPENSSL_PREFIX=$(realpath openssl)