ghcide + nix + doom-emacs - Haskell

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

Sridhar Ratnakumar

Has anyone here succeeded in making ghcide work with nix, and doom-emacs as the editor?

Nix installation for ghcide. Contribute to cachix/ghcide-nix development by creating an account on GitHub.
felko

I think doom has a builtin module for this, you have to enable the +lsp flag on your doom! block

Sridhar Ratnakumar

Not sure however if it works seamlessly with nix-shell.

felko

It looks like it can work with nix-shell:
https://github.com/emacs-lsp/lsp-haskell/blob/f7d1f190ebacc96ddbc722e76730ca2db3c4ce38/lsp-haskell.el#L60

lsp-mode :heart: haskell. Contribute to emacs-lsp/lsp-haskell development by creating an account on GitHub.