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

Pushing HLS' dependency to support Cabal 3.12, so we can use multi-repl feature in HLS codebase. #4219

Open
1 of 4 tasks
soulomoon opened this issue May 10, 2024 · 1 comment
Labels
multi-component Issues relating to multi-component support status: needs triage type: support User support tickets, questions, help with setup etc.

Comments

@soulomoon
Copy link
Collaborator

soulomoon commented May 10, 2024

Historically, HLS using experience in HLS codebase itself is not great since the lack multiple home units support.
Since now Cabal 3.12 have released, and HLS also supports multi-repl feature, #4178.

We should be able to use this new feature in our own codebase. But our dependency is blocking us, some of them are:
cabal-doctest
entropy
extensions
fourmolu
ghc-paths
optparse-applicative
ormolu
pretty-simple

@soulomoon soulomoon added type: support User support tickets, questions, help with setup etc. status: needs triage multi-component Issues relating to multi-component support labels May 10, 2024
@soulomoon
Copy link
Collaborator Author

soulomoon commented May 10, 2024

Current workaround forcing to use the new version of the following in cabal.project

allow-newer:
  *:Cabal,
  *:Cabal-syntax,
  *:optparse-applicative

source-repository-package
    type: git
    location: https://github.com/haskell/cabal.git
    subdir: Cabal Cabal-syntax
    tag : 3.12.0+0

================
update

Also need to clone the repo optparse-applicative by your side
and add the path it to cabal.project's packages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
multi-component Issues relating to multi-component support status: needs triage type: support User support tickets, questions, help with setup etc.
Projects
None yet
Development

No branches or pull requests

1 participant