<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Thanks for your answer. hspec is installed actually:</div><div><br></div><div><div style="margin: 0px; font-size: 13px; font-family: Menlo;">$ cabal install --only-dependencies</div><div style="margin: 0px; font-size: 13px; font-family: Menlo;">Resolving dependencies...</div><div style="margin: 0px; font-size: 13px; font-family: Menlo;">All the requested packages are already installed:</div><div style="margin: 0px; font-size: 13px; font-family: Menlo;">Use --reinstall if you want to reinstall anyway.</div><div><br></div><div>And yes, ‘spec’ is a typo, the error message appears as a tooltip in emacs so I cannot copy/paste it as text.</div><div><br></div><div>I still do have the error however….</div><div><br></div><div><br></div><div><div>On 03 Apr 2014, at 23:30, Kazu Yamamoto (山本和彦) <<a href="mailto:kazu@iij.ad.jp">kazu@iij.ad.jp</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><blockquote type="cite">I upgrade my emacs configuration with latest ghc-mod and all of sudden<br>nothing works (again).<br>When I try to load a .hs file from a project I got the first line<br>highlighted with the error "cannot satisfy -package spec" and I cannot got<br>type, info or doc from that file. Also I do not have anymore syntax errors<br>highlighting I used to see.<br></blockquote><br>As this message suggests, you need to install spec for testing.<br><br>% cabal install spec<br><br># I don't know what the spec package is. A typo for hspec?<br><br>This is because ghc-mod obtains dependency for executables, libraries<br>*and* testing.<br><br>In general, <br>% cabal install --only-dependencies<br>would help you.<br><br>--Kazu<br></blockquote></div><br></div></body></html>