[Haskell-cafe] is the a way to reinstall a package with cabal install?

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Thu Oct 9 13:19:41 EDT 2008


On Thu, 2008-10-09 at 09:42 -0700, Anatoly Yakovenko wrote:
> is the a way to reinstall a package with cabal install?  I want to add
> profiling support to a libarary.

Yes. With cabal-install-0.5.2 and later:

$ cabal install foobar --reinstall --enable-library-profiling


If you always want profiling libs you can set that preference in the
~/.cabal/config file.

Of course if cabal-install were really clever it'd know that packages
were installed without the profiling libs and be able to install just
those profiling versions.
http://hackage.haskell.org/trac/hackage/ticket/282

Duncan
(who should really write a cabal-install user guide)



More information about the Haskell-Cafe mailing list