From 34535e45db3e264e8195629dfbe4a1eb0e38f9e6 Mon Sep 17 00:00:00 2001 From: Pepe Iborra Date: Sat, 11 Dec 2021 20:51:06 +0000 Subject: [PATCH] fix up the instructions --- docs/troubleshooting.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index cca0b539fbe..75acdc4fe69 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -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