[Haskell-cafe] Haskell + emacs + Ghc-mod 4.0.1

Arnaud Bailly arnaud.oqube at gmail.com
Sat Apr 5 06:32:37 UTC 2014

Thanks for your answer. hspec is installed actually:

$ cabal install --only-dependencies
Resolving dependencies...
All the requested packages are already installed:
Use --reinstall if you want to reinstall anyway.

And yes, ‘spec’ is a typo, the error message appears as a tooltip in emacs so I cannot copy/paste it as text.

I still do have the error however….

On 03 Apr 2014, at 23:30, Kazu Yamamoto (山本和彦) <kazu at iij.ad.jp> wrote:

>> I upgrade my emacs configuration with latest ghc-mod and all of sudden
>> nothing works (again).
>> When I try to load a .hs file from a project I got the first line
>> highlighted with the error "cannot satisfy -package spec" and I cannot got
>> type, info or doc from that file. Also I do not have anymore syntax errors
>> highlighting I used to see.
> As this message suggests, you need to install spec for testing.
> % cabal install spec
> # I don't know what the spec package is. A typo for hspec?
> This is because ghc-mod obtains dependency for executables, libraries
> *and* testing.
> In general, 
> % cabal install --only-dependencies
> would help you.
> --Kazu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140405/d8c49b59/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140405/d8c49b59/attachment-0001.sig>

More information about the Haskell-Cafe mailing list