3
0
Fork 0
forked from mirrors/nixpkgs

libunistring: Don't run tests when cross-compiling

This commit is contained in:
Ben Gamari 2017-10-15 14:01:40 -04:00
parent f8ce957263
commit bba7c214ff

View file

@ -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/;