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.
This commit is contained in:
Vladimír Čunát
2019-07-14 09:53:04 +02:00
parent 68d032a46f
commit cf16778cd6

View File

@@ -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