unbound: purge runtime dependency on python

This commit is contained in:
Vladimír Čunát 2015-10-05 16:05:40 +02:00
parent e4f38fb050
commit bf7403f030
1 changed files with 3 additions and 2 deletions

View File

@ -23,10 +23,11 @@ stdenv.mkDerivation rec {
installFlags = [ "configfile=\${out}/etc/unbound/unbound.conf" ]; installFlags = [ "configfile=\${out}/etc/unbound/unbound.conf" ];
# get rid of runtime dependency # get rid of runtime dependencies on $dev outputs
postInstall = '' postInstall = ''
substituteInPlace "$lib/lib/libunbound.la" \ substituteInPlace "$lib/lib/libunbound.la" \
--replace '-L${openssl.dev}/lib' "" --replace '-L${openssl.dev}/lib' "" \
--replace '-L${libevent.dev}/lib' ""
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {