haskell.compiler.ghc921: mark as broken on darwin

Seems like there is either a fundamental issue with how our derivation
works or an upstream bug prevent GHC 9.2.1 from compiling on macOS using
nixpkgs. Until someone fixes that or rc2 comes around, we can save the
build time.
This commit is contained in:
sternenseemann 2021-09-01 14:21:08 +02:00
parent 5a2626087a
commit 6f1a319c45

View File

@ -307,7 +307,10 @@ stdenv.mkDerivation (rec {
# integer-simple builds are broken when GHC links against musl.
# See https://github.com/NixOS/nixpkgs/pull/129606#issuecomment-881323743.
broken = enableIntegerSimple && hostPlatform.isMusl;
# Linker failure on macOS:
# https://gitlab.haskell.org/ghc/ghc/-/issues/19950#note_373726
broken = (enableIntegerSimple && hostPlatform.isMusl)
|| stdenv.hostPlatform.isDarwin;
};
} // lib.optionalAttrs targetPlatform.useAndroidPrebuilt {