Skip to content

Commit d17d9fd

Browse files
fendormichaelpj
andauthored
Remove stack from installation docs since it is not supported anymore (#3314)
Co-authored-by: Michael Peyton Jones <[email protected]>
1 parent 4cb9ff1 commit d17d9fd

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

docs/installation.md

+4-7
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
- For standalone `.hs`/`.lhs` files, [ghc](https://www.haskell.org/ghc/) must be installed and on the `PATH`. The easiest way to install it is with [ghcup](https://www.haskell.org/ghcup/) or [chocolatey](https://community.chocolatey.org/packages/ghc) on Windows.
66
- For Cabal based projects, both ghc and [cabal-install](https://www.haskell.org/cabal/) must be installed and on the `PATH`. It can also be installed with [ghcup](https://www.haskell.org/ghcup/) or [chocolatey](https://community.chocolatey.org/packages/cabal) on Windows.
7-
- For Stack based projects, [stack](http://haskellstack.org) must be installed and on the `PATH`.
87

98
## ghcup
109

@@ -26,18 +25,16 @@ More information here: <https://www.haskell.org/ghcup/guide/#hls>
2625

2726
## Installation from source
2827

29-
Direct installation from source, while possible via `cabal install exe:haskell-language-server`
30-
and `stack install --stack-yaml stack-<GHCVER>.yaml`, is not recommended for most people.
28+
Direct installation from source, while possible via `cabal install exe:haskell-language-server`, is not recommended for most people.
3129
Said command builds the `haskell-language-server` binary and installs it in the default `cabal` binaries folder,
3230
but the binary will only work with projects that use the same GHC version that built it.
3331

3432
### Common pre-requirements
3533

36-
- `stack` or `cabal` must be in your `PATH`
37-
- You need `stack` version >= 2.1.1 or `cabal` >= 2.4.0.0
34+
- `cabal` must be in your `PATH`
35+
- You need `cabal` >= 2.4.0.0
3836
- `git` must be in your `PATH`
39-
- The directory where `stack`or `cabal` put the binaries must be in you PATH:
40-
- For `stack` you can get it with `stack path --local-bin`
37+
- The directory where `cabal` put the binaries must be in you PATH:
4138
- For `cabal` it is by default `$HOME/.cabal/bin` in Linux and `%APPDATA%\cabal\bin` in windows.
4239

4340
Tip: you can quickly check if some command is in your path by running the command.

0 commit comments

Comments
 (0)