
#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