about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2022-02-26 10:07:37 +0100
committersternenseemann <sternenseemann@systemli.org>2022-02-26 10:10:16 +0100
commit41ac9ddde0781a691683027a6d7da9c5b6594cda (patch)
tree3bc6b285ee2366e2f864303bf2237d5ada69d884 /pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
parent3a93e7e23e51ee1f685b7abd63136bdfdad54f62 (diff)
downloadnixlib-41ac9ddde0781a691683027a6d7da9c5b6594cda.tar
nixlib-41ac9ddde0781a691683027a6d7da9c5b6594cda.tar.gz
nixlib-41ac9ddde0781a691683027a6d7da9c5b6594cda.tar.bz2
nixlib-41ac9ddde0781a691683027a6d7da9c5b6594cda.tar.lz
nixlib-41ac9ddde0781a691683027a6d7da9c5b6594cda.tar.xz
nixlib-41ac9ddde0781a691683027a6d7da9c5b6594cda.tar.zst
nixlib-41ac9ddde0781a691683027a6d7da9c5b6594cda.zip
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
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
index 1f78c07ed0d6..7f0beb4fc4ad 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
@@ -95,6 +95,11 @@ self: super: {
   # https://github.com/snoyberg/mono-traversable/issues/192
   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
   # https://github.com/Soostone/retry/issues/71
   retry = dontCheck super.retry;