Skip to content

Commit

Permalink
Run ghcide under a nix shell
Browse files Browse the repository at this point in the history
  • Loading branch information
Théophane Hufschmitt authored Apr 6, 2020
1 parent 9f1af4a commit 908bfa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ghcideLanguageClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 908bfa2

Please sign in to comment.