per-package configuration #900

Open
bos opened this Issue May 24, 2012 · 1 comment

Comments

Projects
None yet
1 participant
@bos
Contributor

bos commented May 24, 2012

(Imported from Trac #910, reported by @kowey on 2012-01-02)

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

This comment has been minimized.

Show comment Hide comment
@bos

bos May 24, 2012

Contributor

(Imported comment by @kosmikus on 2012-01-02)

Also see #780 and #556.

Contributor

bos commented May 24, 2012

(Imported comment by @kosmikus on 2012-01-02)

Also see #780 and #556.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment