knot-resolver: disable part of tests on darwin, for now

This commit is contained in:
Vladimír Čunát 2019-07-10 18:26:26 +02:00
parent f15625a6c0
commit 75369ad991
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -51,11 +51,10 @@ unwrapped = stdenv.mkDerivation rec {
"-Dinstall_kresd_conf=disabled" # not really useful; examples are inside share/doc/
"--default-library=static" # not used by anyone
]
++ optionals doInstallCheck [
"-Dunit_tests=enabled"
"-Dconfig_tests=enabled"
++ optional doInstallCheck "-Dunit_tests=enabled"
++ optional (doInstallCheck && !stdenv.isDarwin) "-Dconfig_tests=enabled"
#"-Dextra_tests=enabled" # not suitable as in-distro tests; many deps, too.
];
;
postInstall = ''
rm "$out"/lib/libkres.a