diff options
Diffstat (limited to 'pkgs/development/libraries/boehm-gc/default.nix')
-rw-r--r-- | pkgs/development/libraries/boehm-gc/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/libraries/boehm-gc/default.nix b/pkgs/development/libraries/boehm-gc/default.nix index 1a5924fbf55..0e7a936b4c2 100644 --- a/pkgs/development/libraries/boehm-gc/default.nix +++ b/pkgs/development/libraries/boehm-gc/default.nix @@ -32,14 +32,14 @@ stdenv.mkDerivation (finalAttrs: { # this stanza can be dropped when a release fixes this issue: # https://github.com/ivmai/bdwgc/issues/376 - makeFlags = lib.optionals (stdenv.hostPlatform.isPower64 && - lib.versionAtLeast finalAttrs.version "8.2.2") - [ + makeFlags = if (stdenv.hostPlatform.isPower64 && + lib.versionAtLeast finalAttrs.version "8.2.2") + then [ # do not use /proc primitives to track dirty bits; see: # https://github.com/ivmai/bdwgc/issues/479#issuecomment-1279687537 # https://github.com/ivmai/bdwgc/blob/54522af853de28f45195044dadfd795c4e5942aa/include/private/gcconfig.h#L741 "CFLAGS_EXTRA=-DNO_SOFT_VDB" - ]; + ] else null; # `gctest` fails under emulation on aarch64-darwin doCheck = !(stdenv.isDarwin && stdenv.isx86_64); |