From 6c41803f02b387db31cd8982ec866d5f1799ded1 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sun, 13 Aug 2017 22:43:41 +0200 Subject: [PATCH] ldns: get rid of reference to openssl.dev Reduces size from ~100MB to ~40M. --- pkgs/development/libraries/ldns/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/ldns/default.nix b/pkgs/development/libraries/ldns/default.nix index 88586cdabba3..f465cf1cc441 100644 --- a/pkgs/development/libraries/ldns/default.nix +++ b/pkgs/development/libraries/ldns/default.nix @@ -36,6 +36,8 @@ stdenv.mkDerivation rec { make make install popd + + sed -i "$out/lib/libldns.la" -e "s,-L${openssl.dev},-L${openssl.out},g" ''; meta = with stdenv.lib; {