cabal install profiling and documentation

Duncan Coutts duncan.coutts at
Fri Feb 27 05:53:20 EST 2009

On Thu, 2009-02-26 at 07:56 -0800, Ben wrote:
> hi --
> i asked this on haskell cafe but got no response.  here it is again:
> i've gone and cabal installed a lot of packages, but now i want to go
> back and install their profiling libraries and documentation.  is
> there an easy way of doing this, short of reinstalling all of them (in
> the proper dependency order)?

Not at the moment, sorry.

Unlike native package managers, cabal-install only uses the information
from ghc-pkg. Unfortunately profiling libs are not tracked separately
from ordinary ones so we simply do not know if they are installed or
not. The plan for ghc-6.12 is to track each "way" that a package is
built separately.

It's not impossible that we could hack things for the special case of
profiling libs within the current scheme. (It would involve probing lots
of disk files.) It is however a task amongst many. It would need a
volunteer or it's not likely to get done soon.


More information about the Libraries mailing list