From ff24ce23c9cde60b5084cd70265c3157bbb41953 Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Wed, 18 May 2016 23:05:51 +0300 Subject: [PATCH] bind: Fix references to openssl in *.la files Avoids reference to the OpenSSL development headers. --- pkgs/servers/dns/bind/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/servers/dns/bind/default.nix b/pkgs/servers/dns/bind/default.nix index 096bddf62d65..5fbb02da73ee 100644 --- a/pkgs/servers/dns/bind/default.nix +++ b/pkgs/servers/dns/bind/default.nix @@ -36,6 +36,10 @@ stdenv.mkDerivation rec { postInstall = '' moveToOutput bin/bind9-config $dev moveToOutput bin/isc-config.sh $dev + + for f in $out/lib/*.la; do + sed -i $f -e 's|-L${openssl.dev}|-L${openssl.out}|g' + done ''; meta = {