Enhancement: Default cabal to `-p` profiling enabled

Henning Thielemann schlepptop at henning-thielemann.de
Thu Jul 24 08:29:46 UTC 2014

Am 24.07.2014 01:18, schrieb Andrew Pennebaker:

> Fortunately, cabal can reinstall a library with profiling support, with:
> cabal install --reinstall -p <library>
> Unfortunately, cabal is a bit of a simpleton, so this will fail unless
> that libraries dependencies are also installed with profiling enabled:
> cabal install --reinstall -p <libraryX> <libraryY> <libraryZ> ...

You may obtain a list of dependent packages with ghc-pkg-dep from

More information about the Libraries mailing list