You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix cabal install commands for local HLS build (#2807)
The existing command errors:
$ cabal install pkg:haskell-language-server
cabal: Internal error in target matching. It should always be possible to find
a syntax that's sufficiently qualified to give an unambiguous match. However
when matching 'pkg:haskell-language-server' we found haskell-language-server
(named-package) which does not have an unambiguous syntax. The possible syntax
and the targets they match are as follows:
'haskell-language-server' which matches haskell-language-server
(named-package)
'pkg:haskell-language-server' which matches haskell-language-server
(named-package), pkg:haskell-language-server (unknown-component),
:pkg:pkg:lib:pkg:file:haskell-language-server (unknown-file)
':pkg:haskell-language-server' which matches haskell-language-server
(named-package)
Co-authored-by: Pepe Iborra <pepeiborra@gmail.com>
If you are compiling with a ghc version with a specific `cabal-ghc${ghcVersion}.project` in the repo you will have to use it. For example for ghc-9.0.x:
0 commit comments