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.
This commit is contained in:
Moritz Kiefer 2022-02-02 09:15:48 +01:00 committed by sterni
parent ed13e13aed
commit fa2bec27de

View file

@ -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 =