Skip to content
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