Closed
Description
The flags are currently set at manual: True
, preventing the Cabal solver from switching them in order to find a build plan.
This has two clear disadvantages:
- HLS doesn't
cabal install
in Hackage with GHC 9.x because not all the plugins are available - We need to keep separate
cabal-ghcXXX.project
files in order to build locally, which works fine in the command line but doesn't work with the IDE because there is no way to change thecabal.project
file from the cradle
On the other hand, setting the flags to manual: False
has the following disadvantages:
- Cabal can reach an unexpected/incomplete build plan if users have an older index snapshot and forget to do
cabal update
- are there any others?
To me, 1 is not something we should care about, since users doing cabal install haskell-language-server
are very few these days and probably know what they are doing.