summaryrefslogtreecommitdiffstats
path: root/pkgs/development/libraries/boehm-gc
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2017-10-15 15:36:30 -0400
committerBen Gamari <ben@smart-cactus.org>2017-10-27 20:32:24 -0400
commit6b1a2b3089d4307e10f87618325ce17dc1e6f934 (patch)
treec8d8ab18e8edfdc6e04243534c847ce20ae7097c /pkgs/development/libraries/boehm-gc
parent97c1211f95f13acdc2bd87717924fdceea20804c (diff)
boehm-gc: Don't run tests when cross-compiling
Diffstat (limited to 'pkgs/development/libraries/boehm-gc')
-rw-r--r--pkgs/development/libraries/boehm-gc/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/boehm-gc/default.nix b/pkgs/development/libraries/boehm-gc/default.nix
index e4311c0a5e9c..1ac96e2b4f04 100644
--- a/pkgs/development/libraries/boehm-gc/default.nix
+++ b/pkgs/development/libraries/boehm-gc/default.nix
@@ -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;