serras / emacs-haskell-tutorial

Tutorial on setting up Emacs to do Haskell programming
690 stars 100 forks source link

haskell-process-start failure with stack-ghci #42

Open JohnFirth opened 8 years ago

JohnFirth commented 8 years ago

After following the tutorial, I was seeing attempts to use stack-ghci fail with this message:

haskell-process-start: cl-ecase failed: cabal-repl, (ghci quote cabal-ghci quote cabal-dev quote)

until I added the following to my project's .dir-locals as per https://github.com/commercialhaskell/stack/blob/master/dot-dir-locals.el

Is there an alternative way to do this that is independent of the project in use?