diff --git a/hledger-lib/hledger-lib.cabal b/hledger-lib/hledger-lib.cabal index 949df1e63..e0066fee4 100644 --- a/hledger-lib/hledger-lib.cabal +++ b/hledger-lib/hledger-lib.cabal @@ -184,7 +184,7 @@ test-suite doctest , uglymemo , unordered-containers >=0.2 , utf8-string >=0.3.5 - if impl(ghc >= 9.0) && impl(ghc < 9.2) + if impl(ghc < 9.2) buildable: False default-language: Haskell2010 diff --git a/hledger-lib/package.yaml b/hledger-lib/package.yaml index 833c8b35a..eae41f602 100644 --- a/hledger-lib/package.yaml +++ b/hledger-lib/package.yaml @@ -164,9 +164,11 @@ tests: - doctest >=0.18.1 - Glob >=0.7 - # disable doctest with GHC 9.0, https://github.com/sol/doctest/issues/301 when: - - condition: impl(ghc >= 9.0) && impl(ghc < 9.2) + # disable doctest with GHC 9.0, https://github.com/sol/doctest/issues/301 + #- condition: impl(ghc >= 9.0) && impl(ghc < 9.2) + # GHC 8.6 seems to be failing now also + - condition: impl(ghc < 9.2) buildable: false # ghc 8.4+ on mac needs this workaround. See