can't understand the Cabal manual. flag, manual

Roman Beslik rabeslik at gmail.com
Fri Nov 23 16:18:47 CET 2012


On 23.11.12 16:33, Brandon Allbery wrote:
> On Fri, Nov 23, 2012 at 9:25 AM, Roman Beslik <rabeslik at gmail.com
> <mailto:rabeslik at gmail.com>> wrote:
>
>     {{{
>     manual: boolean (default: False)
>     By default, Cabal will first try to satisfy dependencies with the
>     default flag value and then, if that is not possible, with the
>     negated value. However, if the flag is manual, then the default
>     value (which can be overridden by commandline flags) will be used.
>     }}}
>     Can I interpret this as {{{
>     First, Cabal tries to satisfy dependencies with the default flag
>     value. Second, if the flag is manual, Cabal tries to satisfy
>     dependencies with the negated flag value.
>     }}} ?
>
>
> That describes it in the default case.  The point is more that it will
> try all possibilities for a flag which is not "manual: True" but only
> use the exact setting specified in the latter case.
Sorry, I still don't get it.



More information about the Libraries mailing list