
24 Jul
2014
24 Jul
'14
4:29 a.m.
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 http://hackage.haskell.org/package/cabal-sort