mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 16:11:22 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user