[Haskell-cafe] Cannot install any packages after upgrading to GHC 8.0.1
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:
> 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-184.108.40.206...
> 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:
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe