git.iko.soy/typeable/nixpkgs
on master help sign in
ldns: get rid of reference to openssl.dev

Reduces size from ~100MB to ~40M.

commit6c41803f02b387db31cd8982ec866d5f1799ded1 authorJoachim Fasting <joachifm@fastmail.fm> dateSun 13 Aug 2017, 22:43 (9 years ago) parent6dc4d74
1 file changed+2
pkgs/development/libraries/ldns/default.nix+2
pkgs/development/libraries/ldns/default.nix+2
@@ -36,6 +36,8 @@ stdenv.mkDerivation rec {
3636 make
3737 make install
3838 popd
39+
40+ sed -i "$out/lib/libldns.la" -e "s,-L${openssl.dev},-L${openssl.out},g"
3941 '';
4042
4143 meta = with stdenv.lib; {