From fa2bec27def40911678695abb5af11b3726db3ff Mon Sep 17 00:00:00 2001 From: Moritz Kiefer Date: Wed, 2 Feb 2022 09:15:48 +0100 Subject: [PATCH] haskell.compiler.ghc902: Switch to LLVM 12 Currently, the build on MacOS ARM64 is broken because LLVM 9 (or more specifically compiler-rt) is broken (and is marked broken). Both 8.10.7 and 9.2.1 are already set to LLVM 12 so this PR adjusts this to also use LLVM 12 for GHC 9.0.2 which seems to get things building for me. --- pkgs/top-level/haskell-packages.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 7ba2001fae71..378c2c4385bd 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -115,8 +115,8 @@ in { packages.ghc8107Binary; inherit (buildPackages.python3Packages) sphinx; inherit (buildPackages.darwin) autoSignDarwinBinariesHook xattr; - buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_9; - llvmPackages = pkgs.llvmPackages_9; + buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_12; + llvmPackages = pkgs.llvmPackages_12; }; ghc921 = callPackage ../development/compilers/ghc/9.2.1.nix { bootPkgs =