[Haskell-cafe] ghc-mod errors in Emacs

Boris d12frosted at gmail.com
Wed Apr 20 08:48:21 UTC 2016


Hey Đorđe,

Do you use stack? If so, make sure that the project you are working on
really uses `GHC 7.8.4`.

P. S. Just shot in the air :-P

~ d12frosted

On Wed, Apr 20, 2016 at 12:00 AM, Đorđe Grbić <dorde.grbic at gmail.com> wrote:

> Greetings dear Haskell community,
>
> I'm trying to use Spacemacs for Haskell development
> but as soon as I open a .hs file ghc-mod dumps errors:
>
> ghc-mod: <command line>: cannot satisfy -package-id
> base-4.6.0.1-8aa5d403c45ea59dcd2c39f123e27d57
>     (use -v for more information)
> <command line>: cannot satisfy -package-id
> base-4.6.0.1-8aa5d403c45ea59dcd2c39f123e27d57
>     (use -v for more information)
> <command line>: cannot satisfy -package-id
> base-4.6.0.1-8aa5d403c45ea59dcd2c39f123e27d57
>     (use -v for more information)
>
> I have ghc-mod version: 5.5.0.0 compiled by GHC 7.8.4.
> GHC version : 7.8.4
> Emacs: 24.5.1
> Spacemacs: 0.105.18
> OS: Ubuntu 14.04.4 LTS
>
> Any help is appreciated,
>
> Djordje Grbic
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160420/be15eb21/attachment.html>


More information about the Haskell-Cafe mailing list