mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
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
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue