From 71c3172cf5ee2cfd2c6c7b0c8753a20f8bd3ed0c Mon Sep 17 00:00:00 2001 From: why-not-try-calmer Date: Fri, 5 Aug 2022 13:03:02 +0200 Subject: [PATCH] Less duplication. --- docs/install.md | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/docs/install.md b/docs/install.md index 6a3dff8..a5af91b 100644 --- a/docs/install.md +++ b/docs/install.md @@ -209,15 +209,7 @@ The developers of the Haskell Language Server offer an [extension](https://githu 3. Make sure your project uses the GHC version installed from GHCup (otherwise HLS is likely to fail on launch): - instructions for [stack](https://docs.haskellstack.org/en/stable/yaml_configuration/#system-ghc) -On Linux, some users have reported an issue when VSCode is not launched from a terminal ("cannot find ghc version"). A [solution](https://github.com/haskell/vscode-haskell#stackcabalghc-can-not-be-found) is to let HLS know about your GHCup on $PATH. To do this: - -1. In VSCode type `Ctrl + ,`, then`_haskell server`, then under _Haskell: Server Environment_, click the `Edit in settings.json` link and then insert the following: -``` - "haskell.serverEnvironment": { - "PATH": "${HOME}/.ghcup/bin:$PATH" - } -``` -2. Restart your workspace for the change to apply. +On Linux, some users have reported an issue when VSCode is not launched from a terminal ("cannot find ghc version"). A solution is to [let HLS know about your GHCup on $PATH](https://github.com/haskell/vscode-haskell#stackcabalghc-can-not-be-found). ## Get help