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?
If you are on Mac OS X and are using homebrew it may be that you installed Cabal through
haskell-platformpackage, which is outdated with no direct upgrade path.You should uninstall
haskell-platformand reinstall Cabal using thecabal-installpackage.