Yeah. I think the real solution lies with cabal better knowing what libs ghc was baked/built with vs which can safely usually have a conflicting version in the user package db.
On Wed, Apr 9, 2014 at 10:08 PM, Erik Hesselink <hesselink@gmail.com> wrote:
The only constraint that actually makes sense for template-haskell is
'installed', which I have in my cabal.config. I think this should
perhaps be built into cabal. This can then be combined with a
constraint on the known versions of TH a package works with.Adding "installed" to the user supplied constraints for base, template-haskell, and ghc-prim sounds sensible.