mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
tests.cross.sanity: Add GHC to catch regressions
This is to ensure that Haskell users on platforms that lack official bindists still have a convenient means of getting GHC running natively. In my admittedly somewhat limited testing on RISC-V, GHC 8.10.7 is able to bootstrap native builds for 9.2.8 and 9.4.5. GHC 9.2.8 and 9.4.5 are unable to bootstrap themselves and 9.6.2 when cross-compiled. If you're looking at this commit to see whether you can safely upgrade the compiler used here to remove 8.10, please try cross-compiling 9.0 or later and then booting a native GHC with it.
This commit is contained in:
parent
bd373f03a0
commit
eeeeb555e2
@ -146,6 +146,8 @@ let
|
|||||||
pkgs.pkgsCross.mips64el-linux-gnuabi64.stdenv
|
pkgs.pkgsCross.mips64el-linux-gnuabi64.stdenv
|
||||||
pkgs.pkgsCross.mips64el-linux-gnuabin32.stdenv
|
pkgs.pkgsCross.mips64el-linux-gnuabin32.stdenv
|
||||||
pkgs.pkgsCross.mingwW64.stdenv
|
pkgs.pkgsCross.mingwW64.stdenv
|
||||||
|
# Uses the expression that is used by the most cross-compil_ed_ GHCs
|
||||||
|
pkgs.pkgsCross.riscv64.haskell.compiler.native-bignum.ghc948
|
||||||
|
|
||||||
] ++ lib.optionals (with pkgs.stdenv.buildPlatform; isx86_64 && isLinux) [
|
] ++ lib.optionals (with pkgs.stdenv.buildPlatform; isx86_64 && isLinux) [
|
||||||
# Musl-to-glibc cross on the same architecture tends to turn up
|
# Musl-to-glibc cross on the same architecture tends to turn up
|
||||||
|
Loading…
Reference in New Issue
Block a user