-
Notifications
You must be signed in to change notification settings - Fork 175
using ghc-mod with stack: cabal-helper-wrapper: ghc: readCreateProcess: runInteractiveProcess: exec: does not exist (No such file or directory) #660
Comments
Okay so it's complaining the My guess is you installed ghc-mod using stack, you're using Stack's Easy fix: just add any version of ghc to your PATH. It's only needed to build cabal-helper's runtime wrapper thing so anything that is old enough to be compatible with whatever version of Cabal is in your projects will do. (this most likely means 7.8 or 7.10 or so since you're using Stack) |
Maybe we ought to check if |
(Note to self: remember to remove wiki entry when this is resolved: https://github.com/kazu-yamamoto/ghc-mod/wiki#cabal-helper-wrapper-ghc--does-not-exist) |
if that's an easy fix, it would probably be a good opportunity to make it an introduction to ghc-mod structure to see how you would investigate about this. that would give other contributors a map of where things are |
Is anyone working on this? It looks like a nice weekend (maybe less) project. |
Actually I just tested this and it works even if you don't have a system wide ghc installed. https://github.com/kazu-yamamoto/ghc-mod/blob/master/Language/Haskell/GhcMod/CabalHelper.hs#L123
@codygman are you getting the same error as well? It might be something I fixed in git so do try the version from master if so. |
I think this is fixed in master just reopen if I'm wrong. |
Still not working for me. I instlaled |
Ah that's interesting, I can reproduce this but only when .stack-work doesn't exists yet. So after the first run it works just fine. |
That's interesting.
|
Ah I found the cause |
Gah now I have to maintain a stable branch for stackage too. Anyways give it a go:
|
So this is going into 5.5 not sure if we're going to do a minor release for 5.4 too. |
👍 thanks for your hard work! On Sun, Jan 17, 2016 at 1:16 PM, Daniel Gröber notifications@github.com
|
Just did fresh install of stack, then haskell via stack setup, then configured emacs as described here: https://github.com/serras/emacs-haskell-tutorial/blob/master/tutorial.md
Then after starting emacs and opening .hs file got this error message:
There is no dist subdirectory in project dir. GHC, version 7.10.2
The text was updated successfully, but these errors were encountered: