diff options
author | Vladimír Čunát <v@cunat.cz> | 2020-11-18 08:38:23 +0100 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2020-11-18 08:41:28 +0100 |
commit | 9a38c3a11b8db6c20611e536236d3b4831ef4498 (patch) | |
tree | 89790895e410a4d3322528ba139e1d248fad1b97 /pkgs/servers/dns | |
parent | 47b02b30e32a5f8f47ed4cf370a0ddf3b9aa9ba8 (diff) |
knot-resolver: fix evaluation on darwin
I somehow forgot that libcap_ng is linux-only. I'm missing ofborg's
darwin builder, but I might've tested evaluation at least...
Diffstat (limited to 'pkgs/servers/dns')
-rw-r--r-- | pkgs/servers/dns/knot-resolver/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/servers/dns/knot-resolver/default.nix b/pkgs/servers/dns/knot-resolver/default.nix index f88772bda0bc..2ec9a6dfdd90 100644 --- a/pkgs/servers/dns/knot-resolver/default.nix +++ b/pkgs/servers/dns/knot-resolver/default.nix @@ -2,8 +2,8 @@ # native deps. , runCommand, pkgconfig, meson, ninja, makeWrapper # build+runtime deps. -, knot-dns, luajitPackages, libuv, gnutls, lmdb, systemd, dns-root-data -, nghttp2, libcap_ng # optionals, in principle +, knot-dns, luajitPackages, libuv, gnutls, lmdb +, systemd, libcap_ng, dns-root-data, nghttp2 # optionals, in principle # test-only deps. , cmocka, which, cacert , extraFeatures ? false /* catch-all if defaults aren't enough */ @@ -54,9 +54,9 @@ unwrapped = stdenv.mkDerivation rec { # http://knot-resolver.readthedocs.io/en/latest/build.html#requirements buildInputs = [ knot-dns lua.lua libuv gnutls lmdb ] - ++ optional stdenv.isLinux systemd # passing sockets, sd_notify - ++ [ nghttp2 libcap_ng ] - ## optional dependencies; TODO: libedit, dnstap + ++ optionals stdenv.isLinux [ systemd libcap_ng ] + ++ [ nghttp2 ] + ## optional dependencies; TODO: dnstap ; mesonFlags = [ |