From 196b87f707df2da0a3826e02b9b1bed2555ffbe9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Mon, 30 Jan 2017 11:55:15 +0100 Subject: [PATCH] knot-dns: another attempt to fix build on Darwin --- 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 2eb8cd208ea8..b2d40c51cb18 100644 --- a/pkgs/servers/dns/knot-dns/default.nix +++ b/pkgs/servers/dns/knot-dns/default.nix @@ -1,5 +1,6 @@ { stdenv, fetchurl, pkgconfig, gnutls, jansson, liburcu, lmdb, libcap_ng, libidn -, systemd, nettle, libedit }: +, systemd, nettle, libedit, zlib +}: # Note: ATM only the libraries have been tested in nixpkgs. stdenv.mkDerivation rec { @@ -20,7 +21,8 @@ stdenv.mkDerivation rec { # 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 lmdb ] + ++ stdenv.lib.optional stdenv.isDarwin zlib; # perhaps due to gnutls enableParallelBuilding = true;