haskellPackages.reflection: disable tests for GHC 9.0.2 everywhere

Thanks to Ryan Scott's investigation it became clear this crash can also
happen on Linux and thus seems to be a general issue in GHC 9.0.2 (only,
luckily). We'll disable the test suite everywhere for now, but the
prospect of this crash / incorrect runtime result is a bit ominous.
Refer to the [ghc-issue] for details.

[ghc-issue]: https://gitlab.haskell.org/ghc/ghc/-/issues/21141
This commit is contained in:
sternenseemann 2022-02-26 10:07:37 +01:00
parent 3a93e7e23e
commit 41ac9ddde0
2 changed files with 5 additions and 4 deletions

View file

@ -282,10 +282,6 @@ self: super: ({
'' + drv.postPatch or ""; '' + drv.postPatch or "";
}) super.foldl; }) super.foldl;
# Strange crash in test suite
# https://github.com/ekmett/reflection/issues/51
reflection = dontCheck super.reflection;
} // lib.optionalAttrs pkgs.stdenv.isAarch64 { # aarch64-darwin } // lib.optionalAttrs pkgs.stdenv.isAarch64 { # aarch64-darwin
# https://github.com/fpco/unliftio/issues/87 # https://github.com/fpco/unliftio/issues/87

View file

@ -95,6 +95,11 @@ self: super: {
# https://github.com/snoyberg/mono-traversable/issues/192 # https://github.com/snoyberg/mono-traversable/issues/192
mono-traversable = dontCheck super.mono-traversable; mono-traversable = dontCheck super.mono-traversable;
# Test suite sometimes segfaults with GHC 9.0.1 and 9.0.2
# https://github.com/ekmett/reflection/issues/51
# https://gitlab.haskell.org/ghc/ghc/-/issues/21141
reflection = dontCheck super.reflection;
# Disable tests pending resolution of # Disable tests pending resolution of
# https://github.com/Soostone/retry/issues/71 # https://github.com/Soostone/retry/issues/71
retry = dontCheck super.retry; retry = dontCheck super.retry;