summary refs log tree commit diff
path: root/pkgs/development/libraries/libunistring
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2017-10-15 14:01:40 -0400
committerBen Gamari <ben@smart-cactus.org>2017-10-27 20:32:24 -0400
commitbba7c214ff4b4b42733fe197eac323d4d1b7d1aa (patch)
tree8df503001c7a28e10d5b8d9dd6942c444d7dc770 /pkgs/development/libraries/libunistring
parentf8ce957263d4ff2fc910f99511ceb16a20381101 (diff)
downloadnixpkgs-bba7c214ff4b4b42733fe197eac323d4d1b7d1aa.tar
nixpkgs-bba7c214ff4b4b42733fe197eac323d4d1b7d1aa.tar.gz
nixpkgs-bba7c214ff4b4b42733fe197eac323d4d1b7d1aa.tar.bz2
nixpkgs-bba7c214ff4b4b42733fe197eac323d4d1b7d1aa.tar.lz
nixpkgs-bba7c214ff4b4b42733fe197eac323d4d1b7d1aa.tar.xz
nixpkgs-bba7c214ff4b4b42733fe197eac323d4d1b7d1aa.tar.zst
nixpkgs-bba7c214ff4b4b42733fe197eac323d4d1b7d1aa.zip
libunistring: Don't run tests when cross-compiling
Diffstat (limited to 'pkgs/development/libraries/libunistring')
-rw-r--r--pkgs/development/libraries/libunistring/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libunistring/default.nix b/pkgs/development/libraries/libunistring/default.nix
index c4acc0627af..42376b61f42 100644
--- a/pkgs/development/libraries/libunistring/default.nix
+++ b/pkgs/development/libraries/libunistring/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
 
   # XXX: There are test failures on non-GNU systems, see
   # http://lists.gnu.org/archive/html/bug-libunistring/2010-02/msg00004.html .
-  doCheck = stdenv ? glibc;
+  doCheck = (stdenv ? glibc) && (stdenv.hostPlatform == stdenv.buildPlatform);
 
   meta = {
     homepage = http://www.gnu.org/software/libunistring/;