knot-dns: cleanup

This commit is contained in:
Sandro Jäckel 2021-08-02 13:12:10 +02:00
parent 76341deaab
commit 0b06ccd7be
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -3,8 +3,6 @@
, autoreconfHook, nixosTests
}:
let inherit (lib) optional optionals; in
stdenv.mkDerivation rec {
pname = "knot-dns";
version = "3.1.0";
@ -39,12 +37,10 @@ stdenv.mkDerivation rec {
libmnl # required for knot >= 3.1
# without sphinx &al. for developer documentation
# TODO: add dnstap support?
]
++ optionals stdenv.isLinux [
libcap_ng systemd
libbpf # XDP support
]
++ optional stdenv.isDarwin zlib; # perhaps due to gnutls
] ++ lib.optionals stdenv.isLinux [
libcap_ng systemd
libbpf # XDP support
] ++ lib.optional stdenv.isDarwin zlib; # perhaps due to gnutls
enableParallelBuilding = true;