Can I force cabal to install a package always to be installed with --enable-library-profiling

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.

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
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

On Fri, Dec 17, 2010 at 04:41:31PM +0100, Daniel Seidel 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?
I do not think it is possible, although I am not 100% sure. -Brent
participants (3)
-
Brent Yorgey
-
Daniel Seidel
-
Krzysztof Skrzętnicki