Ticket #910 (new enhancement)

Opened 17 months ago

Last modified 15 months ago

per-package configuration

Reported by: kowey Owned by:
Priority: normal Milestone: cabal-install-0.16
Component: cabal-install tool Version: 1.8.0.6
Severity: normal Keywords:
Cc: Difficulty: unknown
GHC Version: Platform:

Description

This may be related to #223 but I don't particularly want it in my global config. I'm sick of running "cabal build" and not noticing until much later that my test had a compile error because I'd neglected to reconfigure with "--enable-test".

A similar issue happens with packages with custom flags, say sometimes I lose the "-f-library" flag I sometimes use for faster compilation.

I wish I had a mechanism to remember the command line flags passed in for a particular package. Editing my global config doesn't seem quite like what I'm looking for; it has to be something that works, eg. with different branches of the same package. What might be better for me is something like the Darcs prefs system, where I could edit a file in the current working directory like ".cabal" that says something like

configure --enable-test -f-library
install -fgui

Change History

Changed 15 months ago by kosmikus

  • milestone set to Cabal-1.16

Changed 15 months ago by kosmikus

  • milestone changed from Cabal-1.16 to cabal-install-0.16

Changed 15 months ago by kosmikus

Also see #780 and #556.

Note: See TracTickets for help on using tickets.