unbound: purge runtime dependency on python
This commit is contained in:
parent
e4f38fb050
commit
bf7403f030
|
@ -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; {
|
||||||
|
|
Loading…
Reference in New Issue