about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2024-01-16 19:32:59 +0100
committersternenseemann <sternenseemann@systemli.org>2024-01-16 21:17:56 +0100
commitbb0e433d0116ba71b9a4ae0f8ff3ffcf26784cb1 (patch)
tree61c71bf4cd31d8904caf72e9f1a3107a058adb63 /pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix
parent76a419433f08424fc4abc3536d1b0d4cb78a128e (diff)
downloadnixlib-bb0e433d0116ba71b9a4ae0f8ff3ffcf26784cb1.tar
nixlib-bb0e433d0116ba71b9a4ae0f8ff3ffcf26784cb1.tar.gz
nixlib-bb0e433d0116ba71b9a4ae0f8ff3ffcf26784cb1.tar.bz2
nixlib-bb0e433d0116ba71b9a4ae0f8ff3ffcf26784cb1.tar.lz
nixlib-bb0e433d0116ba71b9a4ae0f8ff3ffcf26784cb1.tar.xz
nixlib-bb0e433d0116ba71b9a4ae0f8ff3ffcf26784cb1.tar.zst
nixlib-bb0e433d0116ba71b9a4ae0f8ff3ffcf26784cb1.zip
haskell.packages.ghc96.mmark: work around codegen issue on aarch64
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix
index 27524c69add6..8bad72bc9a9a 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix
@@ -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;
 }