Closed
Description
- Similar issue to Support for GHC-9.0 #297
- There is a work in progress by @fendor started with Drop ghc-api-compat from dependency closure #2128 although it still does not add initial support, only preparing it (maybe @fendor could tell us more about)
State of support
- The core functionality of haskell-language-server is supported via ghcide.
- Plugins and formatters needs to be updated to make it work with ghc-9.0.1 so they are not included until then.
- So you should consider use other ghc version only if you are specially interested in those plugins o formatters
- The plan is include a prebuilt executable for ghc-9.2.1 in the next hls release (1.6.0)
Has ghc-9.2.1 support
-
ghcide
-
haskell-language-server
-
hls-haddock-comments-plugin
-
hls-hlint-plugin
-
hls-pragmas-plugin
-
hls-retrie-plugin
without test, not included via flags -
hls-eval-plugin
-
hls-module-name-plugin
: it was not being tested in ci: see More work around next ghc-9.2.1 support #2587. Doesnt compile for ghc-9.2.1. Fixed with Fix module-name plugin on ghc-9.2.1 #2594 -
hls-class-plugin
-
hls-refine-imports-plugin
: [ghc-9.2] Fix refine-imports plugin #2601 -
hls-splice-plugin
-
hls-tactic-plugin
-
hls-explicit-imports-plugin
-
hls-call-hierarchy-plugin
it is being tested so it works but it is not included in hls via flags: see More work around next ghc-9.2.1 support #2587 -
hls-alternate-number-format-plugin
-
hls-qualify-imported-names-plugin
: [ghc-9.2] Fix qualify-imported-names plugin #2600
Formatters
-
hls-floskell-plugin
-
hls-ormolu-plugin
-
hls-fourmolu-plugin
-
hls-brittany-plugin
-
hls-stylish-haskell-plugin
Build system and CI
- included in github release
-
.github/workflows/build.yml
-
- hackage release with support for ghc-9.2.1: Make work stack-9.2.1.yaml and enable
pedantic
(-WError
) for cabal #2606-
.github/workflows/hackage.yml
-
-
stack-9.2.1.yaml
, added but not working-
.circleci/config.yml
-
-
cabal-ghc921.project
- Used for disabling the not yet working plugins and fetching upstream patches - nix support: with Flake ghc 92 #2621
- ./
configuration-ghc-921.nix
- update
.github/workflows/nix.yml
- ./
-
.github/workflows/test.yml
- Uses the custom cabal.project and disables tests for non-working plugins. Needs to be updated when more plugins get ghc-9.2.1 support
Dependencies which needs updates and hackage release
- TODO: track all dependencies with issues(prs taking as base the
allow-newer
field ofcabal-ghc921.project