Skip to content
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

consider adding stack install ghc-mod to docs as alternative to cabal #84

Open
wolftune opened this issue Sep 19, 2015 · 4 comments
Open

Comments

@wolftune
Copy link

For projects built with Stack, stack install ghc-mod will work (as long as ~/.local/bin is in the PATH), maybe mention that in the docs so people can know to do that as an alternative to cabal install ghc-mod

@wolftune
Copy link
Author

Note: currently stack install ghc-mod --resolver nightly is required until ghc-mod makes it into Stackage LTS (currently not there yet as of lts 3.6)

@lpil
Copy link

lpil commented Nov 21, 2015

👍

1 similar comment
@etcinit
Copy link

etcinit commented Feb 14, 2016

👍

@DanielG
Copy link

DanielG commented Feb 14, 2016

Unfortunately stack gives people a false sense of security, so when ill explained this can be a problem: https://www.reddit.com/r/haskell/comments/455k54/ghcmode_preludechar_bad_argument_error/

Specifically:

I'm surprised, stack manage to use the correct version of ghc and the correct libraries so I assume it could handle the correct version of ghc-mod. Like stack exec ghc-mode ... I'm apparently wrong.

Also I'm working on the ultimate guide for setting up ghc-mod (aka. the README) over here: ghc-mod wiki: NEW_README and the Vim section is pretty empty in case anyone is feeling motivated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants