libxml2: Don't run tests when cross-compiling

This commit is contained in:
Ben Gamari 2017-10-15 16:54:36 -04:00
parent 99932a894f
commit 09ce1ebd8f

View File

@ -36,7 +36,7 @@ in stdenv.mkDerivation rec {
enableParallelBuilding = true;
doCheck = !stdenv.isDarwin;
doCheck = (stdenv.hostPlatform == stdenv.buildPlatform) && !stdenv.isDarwin;
crossAttrs = lib.optionalAttrs (hostPlatform.libc == "msvcrt") {
# creating the DLL is broken ATM