-
-
Notifications
You must be signed in to change notification settings - Fork 391
Request for GHC 9.2.5 support #3355
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
Comments
The latest stack LTS 20.1 is based on GHC 9.2.5 and the lack of support for it in HLS prevents users, like me, from switching to the new LTS. |
Moreover, it seems that 9.2.4 is broken on macOS 13 running on apple silicon (cf. issue) and fix is available in 9.2.5. I discovered that yesterday when updated my machine. Compiling hls locally works for me; however, your mileage may vary, cf. #3345. |
I can get everything but tactics & haddock-comment plugins building with these diff --git a/stack.yaml b/stack.yaml
index b9244827..f530dafb 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -1,4 +1,4 @@
-resolver: nightly-2022-08-15
+resolver: lts-20.2
packages:
- .
@@ -13,17 +13,17 @@ packages:
- ./plugins/hls-cabal-fmt-plugin
- ./plugins/hls-call-hierarchy-plugin
- ./plugins/hls-class-plugin
-# - ./plugins/hls-haddock-comments-plugin
+- ./plugins/hls-haddock-comments-plugin
- ./plugins/hls-eval-plugin
- ./plugins/hls-explicit-imports-plugin
- ./plugins/hls-qualify-imported-names-plugin
- ./plugins/hls-refine-imports-plugin
- ./plugins/hls-hlint-plugin
- ./plugins/hls-rename-plugin
-# - ./plugins/hls-retrie-plugin
-# - ./plugins/hls-splice-plugin
-# - ./plugins/hls-tactics-plugin
+- ./plugins/hls-retrie-plugin
+- ./plugins/hls-splice-plugin
+- ./plugins/hls-tactics-plugin
#- ./plugins/hls-brittany-plugin
- ./plugins/hls-stylish-haskell-plugin
- ./plugins/hls-floskell-plugin
- ./plugins/hls-fourmolu-plugin
@@ -52,6 +52,7 @@ extra-deps:
- lsp-types-1.6.0.0
- lsp-test-0.14.1.0
- hie-bios-0.11.0
# currently needed for ghcide>extra, etc.
allow-newer: true
@@ -74,8 +75,8 @@ flags:
ignore-plugins-ghc-bounds: true
brittany: false
haddockComments: false
- retrie: false
- splice: false
+ retrie: true
+ splice: true
tactic: false
retrie: like so: stack install haskell-language-server
mv ~/.local/bin/haskell-language-server ~/.local/bin/haskell-language-server-9.2.5 Here are the build failures:
|
Related issue
|
1.9.0.0 supports 9.2.5 |
Request for GHC 9.2.5 support and
haskell-language-server-9.2.5
.GHC 9.2.5 was released recently: https://www.haskell.org/ghc/download_ghc_9_2_5.html
Thank you
The text was updated successfully, but these errors were encountered: