From 93758f6b2fd4da1db7868138fcb2236145dcfcd3 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Tue, 2 Aug 2016 21:09:18 +0200 Subject: 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. --- pkgs/top-level/perl-packages.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pkgs') diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 95a762df33ee..fe6af5725bb6 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -9583,11 +9583,10 @@ let self = _self // overrides; _self = with self; { url = "mirror://cpan/authors/id/M/MI/MIKEM/${name}.tar.gz"; sha256 = "06h6wbr923jxmazmv5shdg1767s7r60bvzcza52dk31yckks6l31"; }; - buildInputs = [ pkgs.openssl ]; doCheck = false; # Test performs network access. preConfigure = '' mkdir openssl - ln -s ${pkgs.openssl.out}/lib openssl + ln -s ${pkgs.openssl.dev}/lib openssl ln -s ${pkgs.openssl.bin}/bin openssl ln -s ${pkgs.openssl.dev}/include openssl export OPENSSL_PREFIX=$(realpath openssl) -- cgit 1.4.1