lsp icon indicating copy to clipboard operation
lsp copied to clipboard

Discussion: Expose Haskell-LSP-types and Haskell-LSP from the same package

Open lukel97 opened this issue 5 years ago • 2 comments

In cabal 3 it is now possible for a package to have multiple public libraries. https://fgaz.me/posts/2019-11-14-cabal-multiple-libraries/

This would fix the issue where we have two packages in deadlock (Haskell-LSP-types and Haskell-LSP must be the same version) whilst also allowing us to split them out.

On the other hand it is a breaking change, requiring at least cabal 3.0 and GHC 8.8. There seems to be some caveat with cabal-install too. We should possibly look at doing this later once support for it becomes more widespread

lukel97 avatar Nov 14 '19 13:11 lukel97

I think we need to defer this for a while.

In practical terms, we have to manage haskell-lsp, haskell-lsp-types, and lsp-test.

alanz avatar Nov 14 '19 19:11 alanz