Skip to content

Active cabal version not honored, breaking HLS 2.11 #1273

@andreasabel

Description

@andreasabel

First, thanks to the developers for this great tool!

Issue:
HLS 2.11 does not work with cabal-3.16, so I broke VSCode when installing cabal-3.16.
Once I figured out that this is the problem, I made cabal-3.14 my default version of cabal again (using ghcup set).
However, VSCode does not seem to honor the choice of the user, it still used cabal-3.16 which does not work.
I had to actually remove cabal-3.16 from my set of ghcup-installed cabal versions for VSCode to pick up this change.

VSCode should not simply pick up the latest versions of Haskell tools from the user's system, but follow the user's choices.

I would also be good if VSCode had some knowledge of which tools work together and which not, so it does not pick combinations that fail when guessing the configuration.

Glossary:

  • VSCode = vscode-haskell

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions