diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2023-06-07 23:26:07 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2023-06-07 23:26:07 +0100 |
commit | bf442ea3fe08a5e00740942550ea54ebfdf04759 (patch) | |
tree | f36a1598465644faeb0449e6c431e45365319192 /pkgs/tools/text | |
parent | fd76e6c2ab5f9b0d2468215fe16187247b092bc5 (diff) |
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
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r-- | pkgs/tools/text/gnugrep/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/text/gnugrep/default.nix b/pkgs/tools/text/gnugrep/default.nix index 0b8e5f803b356..1e339ee3e629f 100644 --- a/pkgs/tools/text/gnugrep/default.nix +++ b/pkgs/tools/text/gnugrep/default.nix @@ -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. |