is the a way to reinstall a package with cabal install?

is the a way to reinstall a package with cabal install? I want to add profiling support to a libarary. Thanks, Anatoly

cabal install --reinstall
On Thu, Oct 9, 2008 at 6:42 PM, Anatoly Yakovenko
is the a way to reinstall a package with cabal install? I want to add profiling support to a libarary.
Thanks, Anatoly _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

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)
participants (3)
-
Alfonso Acosta
-
Anatoly Yakovenko
-
Duncan Coutts