<div dir="ltr">I'd guess that you've got an older version of cabal-install on your system that doesn't support GHC 8. You can test that with `cabal --version` and see if it's 1.24 or later.<div><br></div><div>My recommendation would be to try out Stack. There are new easier installation instructions at <a href="https://haskell-lang.org/get-started">https://haskell-lang.org/get-started</a>, and recent Stackage Nightly snapshots are all using GHC 8.0.1.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 11, 2016 at 10:49 AM, Magicloud Magiclouds <span dir="ltr"><<a href="mailto:magicloud.magiclouds@gmail.com" target="_blank">magicloud.magiclouds@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 dir="ltr">Hi,<div>I update my GHC to 8.0.1 and failed to install any packages since then.</div><div>If I use cabal, I got 'installed package info from too old version of Cabal (key <span style="line-height:1.5">field does not match id field)' for every package.</span></div><div><span style="line-height:1.5">If I use Setup.hs, I got '</span>Configuring Cabal-1.24.0.0...</div><div>Setup.hs: ghc-pkg dump failed'.</div><div>What should I do? Googling did not get me an answer.</div></div>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.<br></blockquote></div><br></div>