summary refs log tree commit diff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2017-10-15 13:26:20 -0400
committerBen Gamari <ben@smart-cactus.org>2017-10-27 20:32:24 -0400
commitf8ce957263d4ff2fc910f99511ceb16a20381101 (patch)
treef3cdaeff89742679d7e42a802a93af59e6d57415
parent7ce848309e6d64820af1e96045c5386992e90a4a (diff)
downloadnixpkgs-f8ce957263d4ff2fc910f99511ceb16a20381101.tar
nixpkgs-f8ce957263d4ff2fc910f99511ceb16a20381101.tar.gz
nixpkgs-f8ce957263d4ff2fc910f99511ceb16a20381101.tar.bz2
nixpkgs-f8ce957263d4ff2fc910f99511ceb16a20381101.tar.lz
nixpkgs-f8ce957263d4ff2fc910f99511ceb16a20381101.tar.xz
nixpkgs-f8ce957263d4ff2fc910f99511ceb16a20381101.tar.zst
nixpkgs-f8ce957263d4ff2fc910f99511ceb16a20381101.zip
expat: Don't run tests when cross-compiling
-rw-r--r--pkgs/development/libraries/expat/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/expat/default.nix b/pkgs/development/libraries/expat/default.nix
index 6533997de2f..77b826acc03 100644
--- a/pkgs/development/libraries/expat/default.nix
+++ b/pkgs/development/libraries/expat/default.nix
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
 
   outputMan = "dev"; # tiny page for a dev tool
 
-  doCheck = true;
+  doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
 
   preCheck = ''
     patchShebangs ./run.sh