haskell.packages.*.optparse-applicative: fix infinite recursion

This can be broken by e.g. dontCheck-ing syb or
prettyprinter-ansi-terminal which cause this problem via tasty. It
worked by accident in haskell.packages.ghc96, now we've solved it for
all package sets.
This commit is contained in:
sternenseemann 2024-01-08 11:45:43 +01:00
parent 3f51344505
commit e006e61ab8
2 changed files with 3 additions and 5 deletions

View File

@ -1679,6 +1679,9 @@ self: super: {
# Break infinite recursion via doctest-lib
utility-ht = dontCheck super.utility-ht;
# Break infinite recursion via optparse-applicative (alternatively, dontCheck syb)
prettyprinter-ansi-terminal = dontCheck super.prettyprinter-ansi-terminal;
# Tests rely on `Int` being 64-bit: https://github.com/hspec/hspec/issues/431.
# Also, we need QuickCheck-2.14.x to build the test suite, which isn't easy in LTS-16.x.
# So let's not go there and just disable the tests altogether.

View File

@ -103,11 +103,6 @@ self: super: {
})
] (super.hourglass);
# Test suite doesn't compile with base-4.18 / GHC 9.6
# https://github.com/dreixel/syb/issues/40
syb = dontCheck super.syb;
# Patch 0.17.1 for support of mtl-2.3
xmonad-contrib = appendPatch
(pkgs.fetchpatch {