Cabal documentation

Duncan Coutts duncan.coutts at
Fri Mar 26 13:11:57 EDT 2010

On Mon, 2010-03-22 at 19:52 +0100, Henning Thielemann wrote:
> I have added some suggestions about conditional compilation to
> Maybe my suggestion about using Hs-Source-Dirs for conditional compilation 
> can be added to

Sure, patches gladly accepted. See doc/Cabal.xml in the darcs repo.

> I'm confused with a paragraph from
> "If dependencies were missing, the last flag (as by the order in which 
> the flags were introduced in the package description) is tried with its 
> alternative value and so on. This continues until either an assignment is 
> found where all dependencies can be satisfied, or all possible flag 
> assignments have been tried."
> I assumed that the automatic search for appropriate flag assignments is 
> only done by cabal-install, not by Cabal.

It's also done by the Cabal lib in the simple case of:
$ runghc Setup configure


More information about the cabal-devel mailing list