
Greetings again,
it seems that ghc-mod still refuses to cooperate.
when I open a source file in Emacs, ghc (ghc-mod?)
dumps:
While parsing
"/home/djordje/.stack/snapshots/x86_64-linux/lts-5.13/7.10.3/pkgdb/package.cache":
demandInput: not enough bytes
While parsing
"/home/djordje/.stack/snapshots/x86_64-linux/lts-5.13/7.10.3/pkgdb/package.cache":
demandInput: not enough bytes
ghc-mod: While parsing
"/home/djordje/.stack/snapshots/x86_64-linux/lts-5.13/7.10.3/pkgdb/package.cache":
demandInput: not enough bytes
I have ~/.local/bin/ and ~/.cabal/bin/ in my PATH.
I don't know if this clashes or something.
Also, I did stack new and stack setup when starting the project.
Let me know I you need more info to fix the problem.
Thank you,
Djordje
On 20 April 2016 at 19:46, Đorđe Grbić
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
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ć
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