From d17ecebcf0430ac3e138feeaa33ca4a2c04aac49 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sat, 7 Dec 2019 23:40:22 +0000 Subject: [PATCH] unbound: install headers etc for libevent support as postInstall step --- pkgs/tools/networking/unbound/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/networking/unbound/default.nix b/pkgs/tools/networking/unbound/default.nix index 08e2e07581b..18d9defdd94 100644 --- a/pkgs/tools/networking/unbound/default.nix +++ b/pkgs/tools/networking/unbound/default.nix @@ -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.