<div dir="ltr">It seems like you have time-1.4.2 installed, the latest GHC (7.10) comes with time 1.5.*. Are you sure you are on 7.10?<div><br></div><div>The core of the problem is that hakyll needs time >= 1.5, and unix is using the pre-installed time-1.4.2. This is rejected because only one version of a library can be used in the same install plan.</div><div><br></div><div>As the error message suggests you can you increase the backjump limit so I'd try that first. I typically pass --reorder-goals --max-backjumps=-1 to cabal-install. Running this sometimes takes a long time, but it will finish eventually.</div><div><br></div><div>You can also try installing an older version of hakyll that works with time-1.4.2 (see the hackage page for info on older versions).</div><div><br></div><div>Lastly, are you using a sandbox? It also helps with reducing problems. I never install anything in the global or user level package db, only in sandboxes.</div><div><br></div><div>HTH,</div><div>Adam</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 1, 2015 at 2:36 PM, Peder Jakobsen <span dir="ltr"><<a href="mailto:pjakobsen@gmail.com" target="_blank">pjakobsen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi, <div><br></div><div>Been with Haskell just for few days, and thought it would be a good exercise to run a static site generator to get familiar with various tools, and I’m already running into “cabal hell” I think. :(</div><div><br></div><div><br></div><div><div><font face="Courier New">$ cabal install hakyll</font></div><div><font face="Courier New">Resolving dependencies...</font></div><div><font face="Courier New">cabal: Could not resolve dependencies:</font></div><div><font face="Courier New">trying: hakyll-4.7.2.0 (user goal)</font></div><div><font face="Courier New">next goal: time (dependency of hakyll-4.7.2.0)</font></div><div><font face="Courier New">rejecting: time-1.4.2/installed-d67... (conflict: hakyll => time>=1.5 && <1.6)</font></div><div><font face="Courier New">trying: time-1.5.0.1</font></div><div><font face="Courier New">trying: process-1.2.0.0/installed-3a4... (dependency of hakyll-4.7.2.0)</font></div><div><font face="Courier New">next goal: unix (dependency of process-1.2.0.0/installed-3a4...)</font></div><div><font face="Courier New">rejecting: unix-2.7.0.1/installed-8ad... (conflict: time==1.5.0.1, unix =></font></div><div><font face="Courier New">time==1.4.2/installed-d67...)</font></div><div><font face="Courier New">rejecting: unix-2.7.1.0, 2.7.0.1, 2.7.0.0, 2.6.0.1, 2.6.0.0, 2.5.1.1, 2.5.1.0,</font></div><div><font face="Courier New">2.5.0.0, 2.4.2.0, 2.4.1.0, 2.4.0.2, 2.4.0.1, 2.4.0.0, 2.3.2.0, 2.3.1.0,</font></div><div><font face="Courier New">2.3.0.0, 2.2.0.0, 2.0 (conflict: process => unix==<a href="http://2.7.0.1/installed-8ad.." target="_blank">2.7.0.1/installed-8ad..</a>.)</font></div><div><font face="Courier New">Backjump limit reached (change with --max-backjumps).</font></div></div><div><font face="Courier New"><br></font></div><div><font face="Courier New"><br></font></div><div>I’m running OS X Yosemite 10.2.2 with all the latest versions of Haskell and cabal.</div><div><br></div><div>Thanks you for listening. :)</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Peder </div></font></span></div><br>_______________________________________________<br>
cabal-devel mailing list<br>
<a href="mailto:cabal-devel@haskell.org">cabal-devel@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/cabal-devel</a><br>
<br></blockquote></div><br></div>