diff options
author | Ben Gamari <ben@smart-cactus.org> | 2017-10-15 16:54:36 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-10-27 20:32:25 -0400 |
commit | 09ce1ebd8fed514147070aa17a95b0b501d8baf5 (patch) | |
tree | 562ca0e8f52aa43e974c116bd0ced3c56044f477 /pkgs/development/libraries/libxml2 | |
parent | 99932a894f560d903e65229e157275ec9a5ee94c (diff) |
libxml2: Don't run tests when cross-compiling
Diffstat (limited to 'pkgs/development/libraries/libxml2')
-rw-r--r-- | pkgs/development/libraries/libxml2/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libxml2/default.nix b/pkgs/development/libraries/libxml2/default.nix index 28b6faa436aa5..bf38a954d60dc 100644 --- a/pkgs/development/libraries/libxml2/default.nix +++ b/pkgs/development/libraries/libxml2/default.nix @@ -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 |