Skip to content

Commit 25c5d82

Browse files
authored
Allow building with GHC 9.8.4 (#4459)
1 parent b8127f7 commit 25c5d82

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

cabal.project

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ packages:
88
./hls-test-utils
99

1010

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

1313
tests: True
1414
test-show-details: direct
@@ -46,3 +46,13 @@ constraints:
4646
if impl(ghc >= 9.9)
4747
-- https://github.com/haskell/haskell-language-server/issues/4324
4848
benchmarks: False
49+
50+
if impl(ghc >= 9.8.4) && impl(ghc < 9.8.5)
51+
-- By depending on ghc-lib-parser and ghc, we are encountering
52+
-- a constraint conflict, ghc-9.8.4 comes with `filepath-1.4.301.0`,
53+
-- and `ghc-lib-parser-9.8.4.20241130` specifies `filepath >=1.5 && < 1.6.
54+
-- See https://github.com/digital-asset/ghc-lib/issues/572 for details.
55+
allow-older:
56+
ghc-lib-parser:filepath
57+
constraints:
58+
ghc-lib-parser==9.8.4.20241130

0 commit comments

Comments
 (0)