unbound: install headers etc for libevent support as postInstall step

This commit is contained in:
Robert Scott 2019-12-07 23:40:22 +00:00 committed by Frederik Rietdijk
parent d67f29261d
commit d17ecebcf0

View File

@ -34,6 +34,10 @@ stdenv.mkDerivation rec {
installFlags = [ "configfile=\${out}/etc/unbound/unbound.conf" ];
postInstall = ''
make unbound-event-install
'';
preFixup = stdenv.lib.optionalString (stdenv.isLinux && !stdenv.hostPlatform.isMusl) # XXX: revisit
# Build libunbound again, but only against nettle instead of openssl.
# This avoids gnutls.out -> unbound.lib -> openssl.out.