Skip to content

Commit a89ba41

Browse files
authored
Simplify instructions about 'ghcup compile hls' (#3068)
1 parent dc682ba commit a89ba41

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

docs/installation.md

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,27 +19,10 @@ You can check if HLS is available for your platform via `ghcup` here: <https://h
1919
You can also install HLS from source without checking out the code manually:
2020

2121
```bash
22-
# `ghcup compile` uses cabal under the hood to build, so you may
23-
# want to run `cabal update` beforehand
24-
cabal update
2522
ghcup compile hls -v $HLS_VERSION --ghc $GHC_VERSION
2623
```
2724

28-
Make sure to check `ghcup compile hls --help` for more complete help.
29-
30-
Examples:
31-
32-
Install HLS 1.7.0.0 for GHC 8.10.7, or for multiple GHC versions:
33-
```bash
34-
ghcup compile hls -v 1.7.0.0 --ghc 8.10.7
35-
ghcup compile hls -v 1.7.0.0 --ghc 8.10.7 --ghc 9.2.3
36-
```
37-
38-
Install HLS from master, or a specific commit:
39-
```
40-
ghcup compile hls -g master --ghc 9.2.3
41-
ghcup compile hls -g 510bd51e46fea8fb51ddfaa60bba505f0663497d --ghc 9.2.3
42-
```
25+
More information here: <https://www.haskell.org/ghcup/guide/#hls>
4326

4427
## Installation from source
4528

0 commit comments

Comments
 (0)