knot-dns: try to fixup on Darwin

+2 -1
+2 -1
pkgs/servers/dns/knot-dns/default.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, gnutls, jansson, liburcu, lmdb, libcap_ng, libidn 2 - , systemd, nettle, libedit, zlib, libiconv, fetchpatch 2 + , systemd, nettle, libedit, zlib, libiconv, libintlOrEmpty 3 3 }: 4 4 5 5 let inherit (stdenv.lib) optional optionals; in ··· 25 25 ] 26 26 # Use embedded lmdb there for now, as detection is broken on Darwin somehow. 27 27 ++ optionals stdenv.isLinux [ libcap_ng systemd lmdb ] 28 + ++ libintlOrEmpty 28 29 ++ optional stdenv.isDarwin zlib; # perhaps due to gnutls 29 30 30 31 # Not ideal but seems to work on Linux.