diff --git a/lib/ghcideLanguageClient.js b/lib/ghcideLanguageClient.js index ccdce47..698a839 100644 --- a/lib/ghcideLanguageClient.js +++ b/lib/ghcideLanguageClient.js @@ -22,7 +22,7 @@ class GhcideAutoLanguageClient startServerProcess(projectPath) { let proc = (require("child_process")).spawn( - "ghcide", ["--lsp"], { "cwd" : projectPath }); + "nix-shell", ["--run", "ghcide --lsp"], { "cwd" : projectPath }); return proc; }