Hi guys,
Yes my .cabal file was a problem.
I've reinitialized the project with Stack and everything seems to be working.

Unfortunately, I've accidentally deleted the old .cabal file to show what was wrong.

Thanks a lot,
Djordje

On 20 April 2016 at 10:48, Boris <d12frosted@gmail.com> wrote:
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@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@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe