Skip to content

Commit f175edb

Browse files
committed
Fix ghc bounds for stan plugin
1 parent 8fff0ab commit f175edb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

haskell-language-server.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ common hlint
247247
cpp-options: -Dhls_hlint
248248

249249
common stan
250-
if flag(stan) && (impl(ghc >= 8.10) && impl(ghc < 9.7))
250+
if flag(stan) && (impl(ghc >= 8.10) && impl(ghc < 9.2.4) || impl(ghc >= 9.4.0) && impl(ghc < 9.8.0))
251251
build-depends: hls-stan-plugin == 2.4.0.0
252252
cpp-options: -Dhls_stan
253253

plugins/hls-stan-plugin/hls-stan-plugin.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ flag pedantic
2626
manual: True
2727

2828
library
29-
if impl(ghc < 8.10) || impl(ghc >= 9.7)
29+
if (impl(ghc >= 8.10) && impl(ghc < 9.2.4) || impl(ghc >= 9.4.0) && impl(ghc < 9.8.0))
3030
buildable: False
3131
else
3232
buildable: True
@@ -59,7 +59,7 @@ library
5959
OverloadedStrings
6060

6161
test-suite test
62-
if impl(ghc < 8.10) || impl(ghc >= 9.7)
62+
if (impl(ghc >= 8.10) && impl(ghc < 9.2.4) || impl(ghc >= 9.4.0) && impl(ghc < 9.8.0))
6363
buildable: False
6464
else
6565
buildable: True

0 commit comments

Comments
 (0)