Skip to content

Support for ghc-9.2.* #2179

@jneira

Description

@jneira
Member

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

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
    • .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 of cabal-ghc921.project

Activity

fendor

fendor commented on Sep 10, 2021

@fendor
Collaborator

The MR #2128 adds compat module hierarchy and functions compatible with the GHC API 9.2 in a backward compatible manner. With I think roughly 3 exceptions (which require some small changes), bringing basic support for ghc-9.2 is a matter of adding the appropriate imports, once retrie supports ghc-9.2.

added this to the 1.5.0 milestone on Sep 16, 2021
Dessix

Dessix commented on Oct 1, 2021

@Dessix

Looks like the next portion of this is dependent on support for 9.2 in retrie, which has a WIP that needs carried over the finish-line.

jneira

jneira commented on Oct 29, 2021

@jneira
MemberAuthor

as noted by @Ailrun here #297 (comment)
ghc-9.2.1 has been released

mouse07410

mouse07410 commented on Nov 5, 2021

@mouse07410

How near are we to releasing 1.5.0, and would it include GHC-9.2.1 support?

jneira

jneira commented on Nov 5, 2021

@jneira
MemberAuthor

Hi, 1.5.0 will be released soon but i am afraid it will not include ghc-9.2.1 for sure, there is still lot of work to be done here

mouse07410

mouse07410 commented on Nov 5, 2021

@mouse07410

I am afraid it will not include ghc-9.2.1 for sure, there is still lot of work to be done here

Maybe at least include partial support??? (Assuming it can be done and makes sense)

jneira

jneira commented on Nov 5, 2021

@jneira
MemberAuthor

I am afraid it will not include ghc-9.2.1 for sure, there is still lot of work to be done here

Maybe at least include partial support??? (Assuming it can be done and makes sense)

I am afraid that this is blocked on a ghcide change and ghcide is the core of hls so we cant release it even partially.

added
status: blockedNot actionable, because blocked by upstream/GHC etc.
on Nov 5, 2021
pinned this issue on Nov 23, 2021

44 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GHCissues with particular GHC versionsold_type: distributionold_type: metaPlaning and organizing other issuesstatus: blockedNot actionable, because blocked by upstream/GHC etc.type: enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @konn@pepeiborra@jneira@Dessix@maerten

        Issue actions

          Support for ghc-9.2.* · Issue #2179 · haskell/haskell-language-server