mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 09:17:07 +03:00
pkgsMusl.haskell.compiler.ghc884: bootstrap using normal binary ghc
On non-arm platforms there's no reason to use the minimal GHC for musl bootstrapping, as it doesn't hit the size limit. Additionally this serves as a wonky workaround for ghc#21402 [1], as the minimal GHC 8.10.2 binary currently contains `xxx` in its `outPath`. [1]: https://gitlab.haskell.org/ghc/ghc/-/issues/21402
This commit is contained in:
parent
26f575c4a5
commit
471653824c
@ -79,9 +79,12 @@ in {
|
||||
ghc884 = callPackage ../development/compilers/ghc/8.8.4.nix {
|
||||
bootPkgs =
|
||||
# aarch64 ghc865Binary gets SEGVs due to haskell#15449 or similar
|
||||
# Musl bindists do not exist for ghc 8.6.5, so we use 8.10.* for them
|
||||
if stdenv.isAarch64 || stdenv.hostPlatform.isMusl then
|
||||
# 8.10.2 is needed as using 8.10.7 is broken due to RTS-incompatibilities
|
||||
if stdenv.isAarch64 then
|
||||
packages.ghc8102BinaryMinimal
|
||||
# Musl bindists do not exist for ghc 8.6.5, so we use 8.10.* for them
|
||||
else if stdenv.hostPlatform.isMusl then
|
||||
packages.ghc8102Binary
|
||||
else
|
||||
packages.ghc865Binary;
|
||||
inherit (buildPackages.python3Packages) sphinx;
|
||||
|
Loading…
Reference in New Issue
Block a user