Skip to content

Commit 2ef6ff0

Browse files
pepeiborrajneiramergify[bot]
authored
Installation from Hackage - add README section (#1183)
* Installation from Hackage - add README section * Discourage direct installation from Hackage * remove random whitespace Co-authored-by: Javier Neira <atreyu.bbb@gmail.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent 8aa45ea commit 2ef6ff0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ background](https://neilmitchell.blogspot.com/2020/01/one-haskell-ide-to-rule-th
2727
- [Building](#building)
2828
- [Install via cabal](#install-via-cabal)
2929
- [Install specific GHC Version](#install-specific-ghc-version)
30+
- [Installation from Hackage](#installation-from-hackage)
3031
- [Configuring haskell-language-server](#configuring-haskell-language-server)
3132
- [Configuring your project build](#configuring-your-project-build)
3233
- [Configuring your editor](#configuring-your-editor)
@@ -245,6 +246,12 @@ If your desired ghc has been found, you use it to install haskell-language-serve
245246
./cabal-hls-install hls-8.6.5
246247
```
247248

249+
### Installation from Hackage
250+
251+
Direct installation from Hackage, while possible via `cabal install haskell-language-server`, is not recommended for most people.
252+
Said command builds the `haskell-language-server` binary and installs it in the default Cabal binaries folder,
253+
but the binary will only work with projects that use the same GHC version that built it.
254+
248255
## Configuring `haskell-language-server`
249256

250257
Language servers like `haskell-language-server` expose most of their configuration via the client (i.e. the editor).

0 commit comments

Comments
 (0)