[Hackage] #598: Bogus build failures on HackageDB

Hackage trac at galois.com
Wed Jan 13 10:25:59 EST 2010


#598: Bogus build failures on HackageDB
--------------------------------+-------------------------------------------
  Reporter:  mboes              |        Owner:     
      Type:  defect             |       Status:  new
  Priority:  normal             |    Milestone:     
 Component:  hackageDB website  |      Version:     
  Severity:  normal             |     Keywords:     
Difficulty:  unknown            |   Ghcversion:     
  Platform:                     |  
--------------------------------+-------------------------------------------

Comment(by ross):

 Replying to [comment:4 duncan]:
 > The simplest solution would be to use cabal-install rather than `runghc
 Setup`. cabal-install will rebuild things as appropriate to avoid the
 diamond dependency problem.
 To generate the documentation for a package, one must
  * build, haddock and install all pre-requisite packages
  * do the equivalent of
    {{{
 runghc Setup.hs configure --ghc --user --haddock-option=--use-
 contents=http://hackage.haskell.org/package/<pkgid>
 runghc Setup.hs haddock '--html-
 location=http://hackage.haskell.org/packages/archive/$pkg/$version/doc/html'
 --hyperlink-source
 runghc Setup.hs haddock --hoogle
 }}}
 From hunting through the code, it seems the planning stuff only happens if
 I use the "install" subcommand, but that doesn't take the haddock options
 I want to use.

 What are the cabal-install commands I should be using?

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



More information about the cabal-devel mailing list