From 5b75338a50e5bf23f4175ffce28df51c54256156 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Mon, 13 Feb 2017 16:37:52 +0100 Subject: [PATCH] knot-dns: use shared lmdb --- pkgs/servers/dns/knot-dns/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/dns/knot-dns/default.nix b/pkgs/servers/dns/knot-dns/default.nix index cba21fbeb8ec..af7d4d4c48ca 100644 --- a/pkgs/servers/dns/knot-dns/default.nix +++ b/pkgs/servers/dns/knot-dns/default.nix @@ -16,15 +16,17 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig ]; buildInputs = [ - gnutls jansson liburcu libidn + gnutls jansson liburcu libidn lmdb nettle libedit libiconv # without sphinx &al. for developer documentation ] # Use embedded lmdb there for now, as detection is broken on Darwin somehow. - ++ stdenv.lib.optionals stdenv.isLinux [ libcap_ng systemd lmdb ] + ++ stdenv.lib.optionals stdenv.isLinux [ libcap_ng systemd ] ++ stdenv.lib.optional stdenv.isDarwin zlib; # perhaps due to gnutls + configureFlags = [ "--with-lmdb=${stdenv.lib.getLib lmdb}"/*not perfect*/ ]; + enableParallelBuilding = true; CFLAGS = [ "-O2" "-DNDEBUG" ];