From cf16778cd6870d349581eb30e350ff2f95a55e06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 14 Jul 2019 09:53:04 +0200 Subject: [PATCH] knot-resolver: fixup build on Darwin I'm not 100% sure how we handle purity there, but so far it seems that this change is only needed on 19.03 branch. --- pkgs/servers/dns/knot-resolver/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/servers/dns/knot-resolver/default.nix b/pkgs/servers/dns/knot-resolver/default.nix index 8cc87191c853..6787cff9ed7d 100644 --- a/pkgs/servers/dns/knot-resolver/default.nix +++ b/pkgs/servers/dns/knot-resolver/default.nix @@ -51,6 +51,8 @@ unwrapped = stdenv.mkDerivation rec { "-Dinstall_kresd_conf=disabled" # not really useful; examples are inside share/doc/ "--default-library=static" # not used by anyone ] + # kres-cache-gc won't work on Darwin before 10.12 due to missing clock_gettime() + ++ optional stdenv.hostPlatform.isDarwin "-Dutils=disabled" ++ optionals doInstallCheck [ "-Dunit_tests=enabled" #"-Dconfig_tests=enabled" #FIXME: check-no-ca-store.diff - as gnutls isn't patched