[Hackage] #385: emgm package incorrectly shown as "program" but is "library and program"

Hackage trac at galois.com
Wed Nov 26 18:47:42 EST 2008


#385: emgm package incorrectly shown as "program" but is "library and program"
--------------------------------+-------------------------------------------
  Reporter:  guest              |        Owner:        
      Type:  defect             |       Status:  new   
  Priority:  normal             |    Milestone:        
 Component:  hackageDB website  |      Version:        
  Severity:  minor              |   Resolution:        
  Keywords:                     |   Difficulty:  normal
Ghcversion:  6.8.3              |     Platform:        
--------------------------------+-------------------------------------------
Comment (by ross):

 hasLibs (flattenPackageDescription pkg) returns False, because the package
 description contains
 {{{
   if flag(nolib)
     buildable:          False
 }}}
 and a comment on flattenPackageDescription says
 {{{
 -- | Flatten a CondTree.  This will resolve the CondTree by taking all
 --  possible paths into account.  Note that since branches represent
 exclusive
 --  choices this may not result in a "sane" result.
 }}}
 It might make sense to substitute the default values of flags here and see
 if that reduces the conditional.

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


More information about the cabal-devel mailing list