haskell.compiler.ghc865Binary: mark as broken when built with musl

The musl support for binary GHC 8.6.5 relied on ABI compat between musl
and glibc which is no longer the case: https://github.com/NixOS/nixpkgs/issues/129247

Since there is no upstream musl (alpine) bindist for GHC 8.6.5, we can
only accept that binary 8.6.5 is not possible with musl.
This commit is contained in:
sternenseemann 2021-07-13 14:33:00 +02:00
parent 10be3b5eed
commit 54e1d5a3e6

View file

@ -190,5 +190,7 @@ stdenv.mkDerivation rec {
license = lib.licenses.bsd3;
platforms = ["x86_64-linux" "aarch64-linux" "i686-linux" "x86_64-darwin"];
hydraPlatforms = builtins.filter (p: p != "aarch64-linux") platforms;
# build segfaults, use ghc8102Binary which has proper musl support instead
broken = stdenv.hostPlatform.isMusl;
};
}