[Hackage] #451: dependency not listed on the hackageDB page

Hackage trac at galois.com
Sun Jan 11 15:58:20 EST 2009


#451: dependency not listed on the hackageDB page
--------------------------------+-------------------------------------------
  Reporter:  guest              |        Owner:         
      Type:  defect             |       Status:  new    
  Priority:  normal             |    Milestone:         
 Component:  hackageDB website  |      Version:  1.2.3.0
  Severity:  normal             |   Resolution:         
  Keywords:                     |   Difficulty:  normal 
Ghcversion:  6.10.1             |     Platform:         
--------------------------------+-------------------------------------------
Changes (by guest):

  * ghcversion:  6.8.3 => 6.10.1

Comment:

 The terminfo dep is declared only inside a conditional:

 {{{        if flag(terminfo) {
             Build-depends: terminfo==0.3.*
             Other-modules: System.Console.Haskeline.Backend.Terminfo
             cpp-options: -DTERMINFO
         }         }}}

 Which is itself inside a conditional. It does seem to 'see' inside the
 first conditional (the build-depends lists the unix deps correctly), but
 not into the second.

 Since the terminfo flag defaults to True, a pity there doesn't seem to be
 any work around - like setting all the terminfo items and then unsetting
 them in a (!terminfo) conditional.

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


More information about the cabal-devel mailing list