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
|
libiconv lmdb libintl
|
||||||
nghttp2 # DoH support in kdig
|
nghttp2 # DoH support in kdig
|
||||||
libmaxminddb # optional for geoip module (it's tiny)
|
libmaxminddb # optional for geoip module (it's tiny)
|
||||||
libmnl # required for knot >= 3.1
|
|
||||||
# without sphinx &al. for developer documentation
|
# without sphinx &al. for developer documentation
|
||||||
# TODO: add dnstap support?
|
# TODO: add dnstap support?
|
||||||
] ++ lib.optionals stdenv.isLinux [
|
] ++ lib.optionals stdenv.isLinux [
|
||||||
libcap_ng systemd
|
libcap_ng systemd
|
||||||
libbpf # XDP support
|
libbpf libmnl # XDP support (it's Linux kernel API)
|
||||||
] ++ lib.optional stdenv.isDarwin zlib; # perhaps due to gnutls
|
] ++ lib.optional stdenv.isDarwin zlib; # perhaps due to gnutls
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
Loading…
Reference in a new issue