gnugrep: disable tests x86_64-darwin

When running on Rosetta 2 emulator (x86_64-darwin biaries executed on
aarch64-darwin) `stack-overflow` test fails as:

    rosetta error: unexpectedly need to EmulateForward on a synchronous exception x86_rip=0x4303486096 arm_pc=0x4303949136 num_insts=6 inst_index=4 x86 instruction bytes: 0x6215344901283465301 0x17041981987679720769
This commit is contained in:
Sergei Trofimovich 2023-06-07 23:26:07 +01:00
parent fd76e6c2ab
commit bf442ea3fe

View file

@ -30,7 +30,8 @@ stdenv.mkDerivation {
# cygwin: FAIL: multibyte-white-space
# freebsd: FAIL mb-non-UTF8-performance
doCheck = !stdenv.isCygwin && !stdenv.isFreeBSD;
# x86_64-darwin: fails 'stack-overflow' tests on Rosetta 2 emulator
doCheck = !stdenv.isCygwin && !stdenv.isFreeBSD && !(stdenv.isDarwin && stdenv.hostPlatform.isx86_64);
# On macOS, force use of mkdir -p, since Grep's fallback
# (./install-sh) is broken.