Add support for GHC 9.2

This commit is contained in:
Taylor Fausak 2022-05-07 12:28:22 +00:00 committed by GitHub
parent add142b459
commit 3011a1b9d7
2 changed files with 8 additions and 4 deletions

View File

@ -9,6 +9,7 @@ jobs:
strategy:
matrix:
include:
- { os: ubuntu, ghc: 9.2.2 }
- { os: ubuntu, ghc: 9.0.2 }
- { os: ubuntu, ghc: 8.10.7 }
- { os: macos, ghc: 8.10.7 }

View File

@ -25,7 +25,7 @@ library
build-depends:
base >= 4.13.0 && < 4.16
, containers >= 0.6.2 && < 0.7
, ghc >= 8.10 && < 8.11 || >= 9.0 && < 9.1
, ghc >= 8.10 && < 8.11 || >= 9.0 && < 9.3
, hlint
, stm >= 2.5.0 && < 2.6
default-language: Haskell2010
@ -42,7 +42,10 @@ library
-Wno-unsafe
hs-source-dirs: src/lib
if impl(ghc >= 9.0)
build-depends: hlint >= 3.3 && < 3.4
if impl(ghc >= 9.2)
build-depends: hlint >= 3.4 && < 3.5
else
build-depends: hlint >= 3.2 && < 3.3
if impl(ghc >= 9.0)
build-depends: hlint >= 3.3 && < 3.4
else
build-depends: hlint >= 3.2 && < 3.3