Skip to content

Commit 3ae24df

Browse files
ndmitchellcocreature
authored andcommitted
#206, copy resolution over to the Setup guide (#214)
1 parent 824055d commit 3ae24df

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: docs/Setup.md

+4
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ Does `ghcide` alone work on the console? Did you first enter a Nix shell? Or run
8282

8383
If you are using packages installed by Nix, then often Nix will set `NIX_GHC_LIBDIR` to say where the libraries are installed. `ghcide` can cope with that. However, sometimes the `ghc` on your shell will actually be a shell script that sets `NIX_GHC_LIBDIR`, which `ghcide` can't find. If that happens, you need to either set `NIX_GHC_LIBDIR` (so `ghcide` can see it) or use a proper [Nix compatible wrapper](https://github.com/hercules-ci/ghcide-nix) over `ghcide`.
8484

85+
## ghcide: this operation requires -fexternal-interpreter
86+
87+
This can happen if you have a GHC compiled without GHC library support. This seems to be [the case](https://github.com/input-output-hk/haskell.nix/issues/313) with `haskell.nix` at the moment.
88+
8589
## Symbol’s value as variable is void: capability
8690

8791
As described [here](https://github.com/emacs-lsp/lsp-mode/issues/770#issuecomment-483540119) and [here](https://github.com/emacs-lsp/lsp-mode/issues/517#issuecomment-445448700), the default installation of `lsp-mode`, `lsp-ui`, `lsp-ui-mode` and `lsp-haskell` as described in [ghcide's "Using with Emacs" section](https://github.com/digital-asset/ghcide/#using-with-emacs) may result in the following error message:

0 commit comments

Comments
 (0)