Skip to content

Commit

Permalink
get compiling with the latest stack lts (22.5)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWheat committed Jan 10, 2024
1 parent 301ee00 commit 6ebf63b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion simple-sql-parser.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ common shared-properties
parser-combinators >= 1.3 && < 1.4,
mtl >=2.1 && <2.4,
prettyprinter >= 1.7 && < 1.8,
text >= 2.1 && < 2.2,
text >= 2.0 && < 2.2,
containers >= 0.6 && < 0.8

ghc-options: -Wall
Expand Down
8 changes: 6 additions & 2 deletions stack.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
# For more information, see: http://docs.haskellstack.org/en/stable/yaml_configuration.html

# Specifies the GHC version and set of packages available (e.g., lts-3.5, nightly-2015-09-21, ghc-7.10.2)
resolver: lts-13.27
resolver: lts-22.5

# Local packages, usually specified by relative directory name
packages:
- '.'

# Packages to be pulled from upstream that are not in the resolver (e.g., acme-missiles-0.3)
extra-deps: []
# todo: remove this once the version of megaparsec on Stack lts has the same api
# as the latest one as far as simple sql parser uses it (in this case, lts-22.5
# has megaparsec 9.5, which doesn't support the megaparsec parser state feature
# in the same way 9.6 does)
extra-deps: [megaparsec-9.6.1]

# Override default flag values for local packages and extra-deps
flags: {}
Expand Down

0 comments on commit 6ebf63b

Please sign in to comment.