diff options
author | Ben Gamari <ben@smart-cactus.org> | 2017-10-15 15:36:30 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-10-27 20:32:24 -0400 |
commit | 6b1a2b3089d4307e10f87618325ce17dc1e6f934 (patch) | |
tree | c8d8ab18e8edfdc6e04243534c847ce20ae7097c /pkgs/development/libraries/boehm-gc | |
parent | 97c1211f95f13acdc2bd87717924fdceea20804c (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.nix | 2 |
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; |