13 Jan
2010
13 Jan
'10
3:25 p.m.
#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/
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:
Hackage
Hackage: Cabal and related projects