knot-dns: only depend on libmnl on Linux
I didn't realize that it's only relevant for Linux, and it unnecessarily disabled builds for *-darwin.
This commit is contained in:
parent
ce1485112d
commit
18ed0855ba
@ -40,12 +40,11 @@ stdenv.mkDerivation rec {
|
||||
libiconv lmdb libintl
|
||||
nghttp2 # DoH support in kdig
|
||||
libmaxminddb # optional for geoip module (it's tiny)
|
||||
libmnl # required for knot >= 3.1
|
||||
# without sphinx &al. for developer documentation
|
||||
# TODO: add dnstap support?
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
libcap_ng systemd
|
||||
libbpf # XDP support
|
||||
libbpf libmnl # XDP support (it's Linux kernel API)
|
||||
] ++ lib.optional stdenv.isDarwin zlib; # perhaps due to gnutls
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
Loading…
Reference in New Issue
Block a user