Skip to content

hls-hlint-plugin work with GHC 9.6 #3552

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 changes: 1 addition & 1 deletion haskell-language-server.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ common tactic
cpp-options: -Dhls_tactic

common hlint
if flag(hlint) && impl(ghc < 9.5)
if flag(hlint)
build-depends: hls-hlint-plugin == 2.0.0.0
cpp-options: -Dhls_hlint

Expand Down
6 changes: 2 additions & 4 deletions plugins/hls-hlint-plugin/hls-hlint-plugin.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ flag pedantic
manual: True

library
if impl(ghc >= 9.5)
buildable: False
buildable: True
exposed-modules: Ide.Plugin.Hlint
hs-source-dirs: src
build-depends:
Expand Down Expand Up @@ -78,8 +77,7 @@ library
TypeOperators

test-suite tests
if impl(ghc >= 9.5)
buildable: False
buildable: True
type: exitcode-stdio-1.0
default-language: Haskell2010
hs-source-dirs: test
Expand Down