knot-dns: libbpf is Linux-only

I should've noticed before pushing; I'm sorry.
This commit is contained in:
Vladimír Čunát 2020-09-10 08:41:58 +02:00
parent b2bd34d62a
commit 6847084284
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -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;