summary refs log tree commit diff
path: root/pkgs/tools/networking/unbound
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2019-12-07 23:40:22 +0000
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2019-12-15 18:48:53 +0100
commitd17ecebcf0430ac3e138feeaa33ca4a2c04aac49 (patch)
tree9fc44786227b14684badc7a8a5684c42cfb4ce7d /pkgs/tools/networking/unbound
parentd67f29261dd2b44676e0af1b525a1d7c61bdac14 (diff)
downloadnixpkgs-d17ecebcf0430ac3e138feeaa33ca4a2c04aac49.tar
nixpkgs-d17ecebcf0430ac3e138feeaa33ca4a2c04aac49.tar.gz
nixpkgs-d17ecebcf0430ac3e138feeaa33ca4a2c04aac49.tar.bz2
nixpkgs-d17ecebcf0430ac3e138feeaa33ca4a2c04aac49.tar.lz
nixpkgs-d17ecebcf0430ac3e138feeaa33ca4a2c04aac49.tar.xz
nixpkgs-d17ecebcf0430ac3e138feeaa33ca4a2c04aac49.tar.zst
nixpkgs-d17ecebcf0430ac3e138feeaa33ca4a2c04aac49.zip
unbound: install headers etc for libevent support as postInstall step
Diffstat (limited to 'pkgs/tools/networking/unbound')
-rw-r--r--pkgs/tools/networking/unbound/default.nix4
1 files changed, 4 insertions, 0 deletions
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.