-
Notifications
You must be signed in to change notification settings - Fork 175
Despite what the wiki says, "cabal-helper-wrapper: ghc: [...]: does not exist" still occurs #780
Comments
No idea what happened. Started Emacs again today and I'm not getting this anymore. And that even though I restarted Emacs a bunch of times on Tuesday trying to get rid of it. I guess I can close this for now. |
Aaaaand it's back. In the same Emacs session, after opening a file from a different stack project in a new buffer. This seems pretty elusive... But maybe that can be some kind of clue. |
I was going to respond to this ages ago, typed up a response and of course my computer had to run out of battery just as I was going to submit the comment ;) Anyways you're reading the error wrong, it's "cabal" that's missing, not cabal-helper-wrapper like in the wiki. I don't think ghc-mod would try to use |
Ah, I see. Alright, then I should rephrase this as "sometimes I'm told that cabal is missing even though it's not" ;) |
Gah! Nevermind. This was an older project which had no stack config yet, and I don't have plain cabal... sorry :/ |
Referencing #660 since it's closely related, didn't want to hijack the existing issue.
I have Emacs with stack-ghci and ghc-mod set up. I can't use ghc-mod, since it throws the error that seems to be well known and listed in the wiki:
However, there is a GHC executable on the path, both in what my shell has and what Emacs got from the environment.
Partial output from
M-x ghc-debug
:Version of ghc-mod, and output of
which ghc
, both run from inside Emacs throughM-x shell-command
:I tried your fix as listed in the wiki ("...simply add one of the paths in the output of the following command to your $PATH...") and added the path from the output to the PATH via (setenv "PATH" ...); but the same path already was part of it, and it didn't fix anything.
Am I missing something?
The text was updated successfully, but these errors were encountered: