[Nix-dev] How to get ghc-mod to work with nix-shell

John Wiegley johnw at newartisans.com
Mon Dec 1 18:44:06 CET 2014


>>>>> Paul Koerbitz <paul.koerbitz at gmail.com> writes:

> I want the ghc-mod process to pick up the 'default.nix' file which is
> sitting in my projects directory. When I do run 'nix-shell --pure --command
> ghc-modi' things work fine. However, the ghc-mod process started from emacs
> runs in the global environment and doesn't have the right dependencies.

> How do people solve this issue usually? 

I run Emacs from within the nix-shell environment.

John


More information about the nix-dev mailing list