[Haskell-cafe] Cannot install any packages after upgrading to GHC 8.0.1

Michael Snoyman michael at snoyman.com
Mon Jul 11 08:48:26 UTC 2016

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.

My recommendation would be to try out Stack. There are new easier
installation instructions at https://haskell-lang.org/get-started, and
recent Stackage Nightly snapshots are all using GHC 8.0.1.

On Mon, Jul 11, 2016 at 10:49 AM, Magicloud Magiclouds <
magicloud.magiclouds at gmail.com> wrote:

> Hi,
> I update my GHC to 8.0.1 and failed to install any packages since then.
> If I use cabal, I got 'installed package info from too old version of
> Cabal (key field does not match id field)' for every package.
> If I use Setup.hs, I got 'Configuring Cabal-
> Setup.hs: ghc-pkg dump failed'.
> What should I do? Googling did not get me an answer.
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160711/1ce67d49/attachment.html>

More information about the Haskell-Cafe mailing list