[Hackage] #675: template-haskell cannot be upgraded (broken data-accessor-template)

Hackage cvs-ghc at haskell.org
Sat May 1 18:05:29 EDT 2010


#675: template-haskell cannot be upgraded (broken data-accessor-template)
---------------------------------+------------------------------------------
  Reporter:  guest               |        Owner:        
      Type:  defect              |       Status:  new   
  Priority:  normal              |    Milestone:        
 Component:  cabal-install tool  |      Version:  HEAD  
  Severity:  normal              |     Keywords:        
Difficulty:  unknown             |   Ghcversion:  6.12.1
  Platform:                      |  
---------------------------------+------------------------------------------
 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).

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/675>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list