1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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;