cabal-install has it's configuration file. On Linux and alike it's located in HOME/.cabal/config. You can set "library-profiling: True" there. There are also a bunch of other options you might be interested in.

Best regards,
Krzysztof Skrzętnicki


On Fri, Dec 17, 2010 at 16:41, Daniel Seidel <ds@iai.uni-bonn.de> wrote:
Hi,

I want to create a cabal package and want to enforce via the
descriptions in the .cabal file that it is always installed with
--enable-library-profiling. Unfortunately I couldn't figure this out
from the cabal documentation. I found how I can enforce that my cabal
always installs profiling versions, but not if and how I can enforce
that one special package is installed that way by any cabal
installation. Is this possible, and if how?

Cheers, Daniel.


_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners