I just upgraded to ghc 7.10.1 and whenever I try use cabal-install I run into the following error:
ghc: ghc no longer supports single-file style package databases (dist/package.conf.inplace) use 'ghc-pkg init' to create the database with the correct format.
How do I fix this?
It could well be you have a newer cabal on your path but can't find it because the old one shadows it. So looking for
where cabal
may help you resolve that. Barring that, you can download a newer cabal binary from the cabal homepage.