Ticket #675 (new defect)
template-haskell cannot be upgraded (broken data-accessor-template)
| Reported by: | guest | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | cabal-install-0.16 |
| Component: | cabal-install tool | Version: | HEAD |
| Severity: | normal | Keywords: | |
| Cc: | vogt.adam@… | Difficulty: | unknown |
| GHC Version: | 6.12.1 | Platform: |
Description
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).
Change History
Note: See
TracTickets for help on using
tickets.
