Skip to content

Commit f89d2d6

Browse files
ndmitchellcocreature
authored andcommitted
Copy notes from #183 (#209)
1 parent 78aa974 commit f89d2d6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/Setup.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,19 @@ with the following content:
5454
cradle: {cabal: {component: "mylibrary"}}
5555
```
5656

57+
## ghc: readCreateProcess: does not exist
58+
59+
I was getting this in Windows: `ghcide.exe: ghc: readCreateProcess: does not exist (No such file or directory)`
60+
61+
And we figured a hack around for this:
62+
63+
VSCode user or workspace settings, add these:
64+
65+
"hic.executablePath": "stack",
66+
"hic.arguments": "exec ghcide -- --lsp"
67+
68+
Since I use stack. Required if you don't have a `ghc` on your path.
69+
5770
## Works in `ghcide` but not my editor
5871

5972
Does `ghcide` alone work on the console? Did you first enter a Nix shell? Or run `stack exec ghcide`? If so, there are two options:

0 commit comments

Comments
 (0)