diff options
author | sternenseemann <sternenseemann@systemli.org> | 2022-08-19 14:45:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-19 14:45:18 +0200 |
commit | bd80584a491ccae05657490f95edd9c12b1a28dc (patch) | |
tree | 6b50b9fde7e5b444b80fd248124497a78aac9426 /pkgs/top-level | |
parent | 9fd235b40a992d33c3e30956485a7a893ed093bc (diff) | |
parent | 97c5787fad8362d6535a6b598b10d025a10daa2a (diff) |
Merge pull request #185755 from NixOS/haskell-updates
haskellPackages: update stackage and hackage
Diffstat (limited to 'pkgs/top-level')
-rw-r--r-- | pkgs/top-level/haskell-packages.nix | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 744ddcb879e6e..b38853008757b 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -157,10 +157,19 @@ in { }; ghc941 = callPackage ../development/compilers/ghc/9.4.1.nix { bootPkgs = - # TODO(@sternenseemann): Package 9.0.2 bindist or wait for upstream fix - # Need to use 902 due to + # Building with 9.2 is broken due to # https://gitlab.haskell.org/ghc/ghc/-/issues/21914 - packages.ghc902; + # 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 + # TODO(@sternenseemann): package bindist + packages.ghc902 + # No suitable bindists for powerpc64le + else if stdenv.hostPlatform.isPower64 && stdenv.hostPlatform.isLittleEndian then + packages.ghc902 + else + packages.ghc8107Binary; inherit (buildPackages.python3Packages) sphinx; # Need to use apple's patched xattr until # https://github.com/xattr/xattr/issues/44 and |