haskell.compiler.ghc884: re-enable aarch64-linux

Since we inherit the platform list from the bootstrap GHC, we get
differing lists depending on which platform we evaluate the platform
list on (depending on whether 8.10.2 or 8.6.5 is used). This leads to
Hydra thinking aarch64-linux is not supported as it evaluates on
x86_64-linux usually.
This commit is contained in:
sternenseemann 2021-11-24 15:12:36 +01:00
parent 48b60ee86f
commit 55b8d8c1bf

View file

@ -345,7 +345,10 @@ stdenv.mkDerivation (rec {
guibou
] ++ lib.teams.haskell.members;
timeout = 24 * 3600;
inherit (ghc.meta) license platforms;
inherit (ghc.meta) license;
# hardcode platforms because the bootstrap GHC differs depending on the platform,
# with differing platforms available for each of them
platforms = ["x86_64-linux" "aarch64-linux" "i686-linux" "x86_64-darwin"];
# integer-simple builds are broken with musl when bootstrapping using
# GHC 8.10.2 and below, however it is not possible to reverse bootstrap
# GHC 8.8.4 with GHC 8.10.7.