haskell.packages.ghc96.mmark: work around codegen issue on aarch64

This commit is contained in:
sternenseemann
2024-01-16 21:17:56 +01:00
parent 76a419433f
commit bb0e433d01
@@ -182,5 +182,7 @@ self: super: {
# the workaround on 9.6 is to revert to the LLVM backend (which is used
# for these sorts of situations even on 9.2 and 9.4).
# https://gitlab.haskell.org/ghc/ghc/-/issues/23746#note_525318
# TODO(@sternenseemann): after ghc963, with ghc964 these can be disabled
tls = if pkgs.stdenv.hostPlatform.isAarch64 then self.forceLlvmCodegenBackend super.tls else super.tls;
mmark = if pkgs.stdenv.hostPlatform.isAarch64 then self.forceLlvmCodegenBackend super.mmark else super.mmark;
}