Skip to content

Commit

Permalink
fix up the instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
pepeiborra committed Dec 12, 2021
1 parent f60b4fb commit 34535e4
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,9 @@ The workaround is to use a version of haskell-language-server compiled from sour

### Support for Template Haskell

Template Haskell should work fine in Linux with the distributed binaries
Template Haskell should work fine in Linux and Windows with the distributed binaries. In Mac Os a dynamically linked binary of HLS is required to avoid segmentation faults. The easiest way to obtain a dynamically linked HLS binary is to build it locally. With cabal install this can be done as follows:

Usage of Template Haskell in Mac Os requires a dynamically linked binary of HLS or risk encountering linker errors and/or segmentation faults.

The best and currently only way to obtain a dynamically linked HLS binary is to build it locally. With cabal install this can be done as follows:

cabal install haskell-language-server --enable-executable-dynamic
cabal update && cabal install haskell-language-server --enable-executable-dynamic

## Troubleshooting the server

Expand Down

0 comments on commit 34535e4

Please sign in to comment.