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 | |
parent | fd76e6c2ab5f9b0d2468215fe16187247b092bc5 (diff) | |
download | nixpkgs-bf442ea3fe08a5e00740942550ea54ebfdf04759.tar nixpkgs-bf442ea3fe08a5e00740942550ea54ebfdf04759.tar.gz nixpkgs-bf442ea3fe08a5e00740942550ea54ebfdf04759.tar.bz2 nixpkgs-bf442ea3fe08a5e00740942550ea54ebfdf04759.tar.lz nixpkgs-bf442ea3fe08a5e00740942550ea54ebfdf04759.tar.xz nixpkgs-bf442ea3fe08a5e00740942550ea54ebfdf04759.tar.zst nixpkgs-bf442ea3fe08a5e00740942550ea54ebfdf04759.zip |
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
-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 0b8e5f803b3..1e339ee3e62 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. |