Since upgrading to 7.4.1, if I 'cabal install' successfully and then 'cabal install' a second time without first doing a 'ghc-pkg unregister <package-name>', I get the following complaint:
cabal: The install plan contains reinstalls which can break your GHC
installation. You can try --solver=modular for the new modular solver that
chooses such reinstalls less often and also offers the --avoid-reinstalls
option. You can also ghc-pkg unregister the affected packages and run ghc-pkg
check to see the effect on reverse dependencies. If you know what you are
doing you can use the --force-reinstalls option to override this reinstall
check.