diff options
author | Vladimír Čunát <v@cunat.cz> | 2020-09-10 08:41:58 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2020-09-10 08:46:44 +0200 |
commit | 6847084284dc3b70acc3688ee090282f35751057 (patch) | |
tree | 629077a9bacc5d92f6925032a3a06239b334ac9a /pkgs/servers/dns | |
parent | b2bd34d62a8deb27777bbb3e7a5371794746975e (diff) |
knot-dns: libbpf is Linux-only
I should've noticed before pushing; I'm sorry.
Diffstat (limited to 'pkgs/servers/dns')
-rw-r--r-- | pkgs/servers/dns/knot-dns/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/servers/dns/knot-dns/default.nix b/pkgs/servers/dns/knot-dns/default.nix index 27f1ca12aacb..3ebb31e20f24 100644 --- a/pkgs/servers/dns/knot-dns/default.nix +++ b/pkgs/servers/dns/knot-dns/default.nix @@ -34,13 +34,15 @@ stdenv.mkDerivation rec { gnutls liburcu libidn2 libunistring nettle libedit libiconv lmdb libintl - libbpf # XDP support nghttp2 # DoH support in kdig libmaxminddb # optional for geoip module (it's tiny) # without sphinx &al. for developer documentation # TODO: add dnstap support? ] - ++ optionals stdenv.isLinux [ libcap_ng systemd ] + ++ optionals stdenv.isLinux [ + libcap_ng systemd + libbpf # XDP support + ] ++ optional stdenv.isDarwin zlib; # perhaps due to gnutls enableParallelBuilding = true; |