Ticket #675 (new defect)

Opened 3 years ago

Last modified 15 months ago

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

Changed 15 months ago by kosmikus

  • milestone set to cabal-install-0.16

I'm reluctant to hard-code many additional packages that can't be upgraded in cabal. Leaving this open for now because it raises an interesting point, though.

Changed 15 months ago by benmachine

How about we un-hard-code them, and add a config setting for 'immutable' packages, default base?

Note: See TracTickets for help on using tickets.