boehm-gc: Don't run tests when cross-compiling

This commit is contained in:
Ben Gamari 2017-10-15 15:36:30 -04:00
parent 97c1211f95
commit 6b1a2b3089

View File

@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
[ "--enable-cplusplus" ]
++ lib.optional enableLargeConfig "--enable-large-config";
doCheck = true;
doCheck = stdenv.buildPlatform == stdenv.hostPlatform;
# Don't run the native `strip' when cross-compiling.
dontStrip = hostPlatform != buildPlatform;