New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
haskell-process-cabal-build doesn't build under certain conditions #285
Comments
Everything works fine, if I switch over to terminal and run the usual |
This is an FAQ. Let me find the link. |
@chrisdone As already mentioned in the original thread, I have set the PATH as stated in the FAQ. The cabal initially works within the mode but after some time, it doesn't. |
Just to add extra information, I have set the process-type as When I do the |
Does |
I'm not sure what do you mean by |
I meant |
|
|
Try using $HOME instead of ~ for your PATH (actually, you'll probably need to use getenv to get the HOME variable); my guess is that it's a problem with shell expansion. |
@ivan-m Tried both |
Very strange. Oh! Do |
Ok, it starts working after I put the complete path like this: |
On bash, it gives:
The doule |
@chrisdone Shall I close the issue ? And maybe we can update the FAQ to try this in case everything else fails. |
The Can you do (for example) |
Maybe be a fix: #282 But the PATH stuff is still a worry. |
@ivan-m Restarted the emacs and tried it again to receive the same error:
Just curious why |
Well, I've never seen But that error makes it look like the problem might be with your emacs or emacs config. Can you try it with |
@ivan-m Thanks, will try this and report that once I go to my office again. (~ after 2 days). |
@ivan-m Now it gives proper path when I use |
@psibi: Is this PATH issue working for you? |
Do not hessitate to write a note here if this PATH issue is still bothering you. |
In haskell-mode, when I do cabal build using
haskell-process-cabal-build
, I get this:But in the
haskell-process-log
, I see this:I don't get how it's not able to see my cabal path. In fact, I have these things in my emacs configuration, just to be sure:
The cabal which I have is inside
~/.cabal/bin
. Let me know if you need any other details.The text was updated successfully, but these errors were encountered: