On Sat, Sep 01, 2012 at 02:09:28PM +0100, Ian Lynagh wrote: > On Fri, Aug 31, 2012 at 05:58:13PM +0200, Simon Hengel wrote: > > > > The library component of Haddock is still not build with GHC. Would it > > be sane to build/include the library component of Haddock with GHC, so > > that there is only one "build flavor" of Haddock? > > I suspect the current setup predates the ability for executables to > depend on libraries in the same Cabal package. I'd suggest that the > haddock executable should be changed to depend on the haddock library, > and as far as I can see there is no reason why that should cause > problems in the GHC build.
Ok, I just changed that [1] (on branch ghc-7.6). Now the executable depends on the library. I'm validating it right now; if there are no issues I'll push it. Cheers, Simon [1] https://github.com/sol/haddock/commit/de9821b35d06b414a0bac492a3a7773ace711e91 _______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc