diff --git a/pkgs/development/libraries/boehm-gc/default.nix b/pkgs/development/libraries/boehm-gc/default.nix index 513ae50298e26..182b36c5788a5 100644 --- a/pkgs/development/libraries/boehm-gc/default.nix +++ b/pkgs/development/libraries/boehm-gc/default.nix @@ -31,7 +31,8 @@ stdenv.mkDerivation (finalAttrs: { ++ lib.optional enableLargeConfig "--enable-large-config"; # `gctest` fails under emulation on aarch64-darwin - doCheck = !(stdenv.isDarwin && stdenv.isx86_64); + # https://github.com/NixOS/nixpkgs/pull/191339#issuecomment-1250205225 + doCheck = !(stdenv.isDarwin && stdenv.buildPlatform.isAarch64 && stdenv.hostPlatform.isx86_64); enableParallelBuilding = true;