Skip to content

Commit

Permalink
Add GHC 9.2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonchinn178 committed Dec 17, 2021
1 parent da29c72 commit d470f49
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,9 @@ workflows:
- run_build_and_test:
name: test_latest
latest: true
- run_build_and_test:
name: test_ghc_9.2
stack_yaml: stack-ghc-9.2.yaml
- run_build_and_test:
name: test_ghc_9.0
stack_yaml: stack-ghc-9.0.yaml
Expand Down
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ github: brandonchinn178/persistent-mtl
library:
source-dirs: src
dependencies:
- base >= 4.10 && < 4.16
- base >= 4.10 && < 4.17
- conduit >= 1.3.0.3 && < 1.4
- containers >= 0.5.10.2 && < 0.7
- exceptions >=0.8 && <0.11
Expand Down
2 changes: 1 addition & 1 deletion persistent-mtl.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ library
src
ghc-options: -Wall
build-depends:
base >=4.10 && <4.16
base >=4.10 && <4.17
, conduit >=1.3.0.3 && <1.4
, containers >=0.5.10.2 && <0.7
, exceptions >=0.8 && <0.11
Expand Down
24 changes: 24 additions & 0 deletions stack-ghc-9.2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
resolver: nightly-2021-12-16
compiler: ghc-9.2.1

extra-deps:
- aeson-2.0.2.0
- attoparsec-0.14.3
- base-compat-0.12.1
- base-compat-batteries-0.12.1
- explainable-predicates-0.1.2.0
- github: yesodweb/persistent
commit: 965f6632e74e0b30db403965277cd1b3aa9d222b
subdirs:
- persistent
- persistent-sqlite

# https://github.com/cdsmith/explainable-predicates/issues/14
allow-newer: true

flags:
explainable-predicates:
regex: false

ghc-options:
"$locals": -Werror

0 comments on commit d470f49

Please sign in to comment.