Skip to content

Commit 69e2665

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

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
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.8.1) && impl(ghc <= 9.2.3) || 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: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ flag pedantic
2626
manual: True
2727

2828
library
29-
if impl(ghc < 8.10) || impl(ghc >= 9.7)
30-
buildable: False
31-
else
29+
if (impl(ghc > 8.8.1) && impl(ghc <= 9.2.3) || impl(ghc >= 9.4.0) && impl(ghc <= 9.8.0))
3230
buildable: True
31+
else
32+
buildable: False
3333
exposed-modules: Ide.Plugin.Stan
3434
hs-source-dirs: src
3535
build-depends:
@@ -59,10 +59,10 @@ library
5959
OverloadedStrings
6060

6161
test-suite test
62-
if impl(ghc < 8.10) || impl(ghc >= 9.7)
63-
buildable: False
64-
else
62+
if (impl(ghc > 8.8.1) && impl(ghc <= 9.2.3) || impl(ghc >= 9.4.0) && impl(ghc <= 9.8.0))
6563
buildable: True
64+
else
65+
buildable: False
6666
type: exitcode-stdio-1.0
6767
default-language: Haskell2010
6868
hs-source-dirs: test

0 commit comments

Comments
 (0)