haskell.compiler.ghc941: bootstrap using GHC 9.0.2 on arm
text.cabal has the following snippet mandating this: -- GHC 8.10 has linking issues (probably TH-related) on ARM. if (arch(aarch64) || arch(arm)) && impl(ghc == 8.10.*) build-depends: base < 0 Since we're now testing 9.0.2 for bootstrapping on Hydra, we can also use the proper GHC version for powerpc64le.
This commit is contained in:
parent
9ba6250a0d
commit
ddada35b50
@ -157,14 +157,17 @@ in {
|
||||
};
|
||||
ghc941 = callPackage ../development/compilers/ghc/9.4.1.nix {
|
||||
bootPkgs =
|
||||
# 9.2 is broken due to
|
||||
# Building with 9.2 is broken due to
|
||||
# https://gitlab.haskell.org/ghc/ghc/-/issues/21914
|
||||
# Use 8.10 as a workaround, TODO: maybe package binary 9.0?
|
||||
# aarch ghc8107Binary exceeds max output size on hydra
|
||||
# Use 8.10 as a workaround where possible to keep bootstrap path short.
|
||||
|
||||
# On ARM text won't build with GHC 8.10.*
|
||||
if stdenv.hostPlatform.isAarch then
|
||||
packages.ghc8107BinaryMinimal
|
||||
# TODO(@sternenseemann): package bindist
|
||||
packages.ghc902
|
||||
# No suitable bindists for powerpc64le
|
||||
else if stdenv.hostPlatform.isPower64 && stdenv.hostPlatform.isLittleEndian then
|
||||
packages.ghc8107
|
||||
packages.ghc902
|
||||
else
|
||||
packages.ghc8107Binary;
|
||||
inherit (buildPackages.python3Packages) sphinx;
|
||||
|
Loading…
Reference in New Issue
Block a user