From bb0e433d0116ba71b9a4ae0f8ff3ffcf26784cb1 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Tue, 16 Jan 2024 19:32:59 +0100 Subject: haskell.packages.ghc96.mmark: work around codegen issue on aarch64 --- pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix') 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; } -- cgit 1.4.1