Ticket #675 (new defect)
template-haskell cannot be upgraded (broken data-accessor-template)
|Reported by:||guest||Owned by:|
data-accessor-template-0.2.1.3 has flags in the cabal file on template-haskell versions, which makes it broken for cabal-install on ghc-6.12:
cabal-install tries to install template-haskell-2.3, which fails (and it can't be expected to succeed because TH is integrated into ghc due to quotes)
You can work around the build failure with:
cabal install data-accessor-template --constraint='template-haskell >= 2.4'
cabal-install ought to know that template-haskell isn't something it should install (as it does with base).