cabal doesn't explore the none manual flags very well

Leon Smith leon.p.smith at
Wed Mar 12 18:16:43 UTC 2014

Here's one example,  and a comment for a possible long-term solution from
Duncan Coutts:


On Wed, Mar 12, 2014 at 1:55 PM, Andres Löh <andres at> wrote:

> Hi there.
> > i'm repeatedly seeing many examples where a Manual : False flag is used
> to
> > encode an "OR" in the cabal configuration, and where cabal "gives up" on
> > finding the "right" build plan i know it can find if it has to flip the
> flag
> > in a dependency its building...
> >
> > Is this a known issue? how can i mitigate it?
> It wasn't really known to me until recently.
> I'm currently looking at this issue, but I unfortunately don't have
> much time to work on it. As a workaround, it might help to add a
> package for which a suboptimal version is chosen because the flag is
> set to the wrong value explicitly as a target on the command line.
> Cheers,
>   Andres
> --
> Andres Löh, Haskell Consultant
> Well-Typed LLP,
> _______________________________________________
> cabal-devel mailing list
> cabal-devel at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the cabal-devel mailing list