Skip to content

Commit

Permalink
Allow building with GHC 9.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
fendor committed Dec 3, 2024
1 parent b8127f7 commit b7ff83a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ packages:
./hls-test-utils


index-state: 2024-11-02T00:00:00Z
index-state: 2024-12-02T00:00:00Z

tests: True
test-show-details: direct
Expand Down Expand Up @@ -46,3 +46,13 @@ constraints:
if impl(ghc >= 9.9)
-- https://github.com/haskell/haskell-language-server/issues/4324
benchmarks: False

if impl(ghc >= 9.8.4) && impl(ghc < 9.8.5)
-- By depending on ghc-lib-parser and ghc, we are encountering
-- a constraint conflict, ghc-9.8.4 comes with `filepath-1.4.301.0`,
-- and `ghc-lib-parser-9.8.4.20241130` specifies `filepath >=1.5 && < 1.6.
-- See https://github.com/digital-asset/ghc-lib/issues/572 for details.
allow-older:
ghc-lib-parser:filepath
constraints:
ghc-lib-parser==9.8.4.20241130

0 comments on commit b7ff83a

Please sign in to comment.