Re: [Haskell-cafe] Alternative dependencies in Cabal file

2010-04-11 Thread Duncan Coutts
On Fri, 2010-03-19 at 00:34 +0100, Henning Thielemann wrote: Matthias Reisner schrieb: Thanks, I missed that the flags are set dynamically if a dependency cannot be satisfied. Only cabal-install does this, plain Cabal only takes flags that were set by the user. No, plain Cabal does it

Re: [Haskell-cafe] Alternative dependencies in Cabal file

2010-03-18 Thread Henning Thielemann
Matthias Reisner schrieb: Thanks, I missed that the flags are set dynamically if a dependency cannot be satisfied. Only cabal-install does this, plain Cabal only takes flags that were set by the user. ___ Haskell-Cafe mailing list

[Haskell-cafe] Alternative dependencies in Cabal file

2010-03-17 Thread Matthias Reisner
Hi, for a package I need to ensure the user uses a certain package configuration. So how would I rewrite the following pseudo-cabal description? Build-Depends: packageA X, packageB Y or packageA = X X', packageB = Y Y'

Re: [Haskell-cafe] Alternative dependencies in Cabal file

2010-03-17 Thread Daniel Fischer
Am Mittwoch 17 März 2010 12:11:53 schrieb Matthias Reisner: Hi, for a package I need to ensure the user uses a certain package configuration. So how would I rewrite the following pseudo-cabal description? Build-Depends: packageA X, packageB Y or

Re: [Haskell-cafe] Alternative dependencies in Cabal file

2010-03-17 Thread Matthias Reisner
Thanks, I missed that the flags are set dynamically if a dependency cannot be satisfied. Am 17.03.2010 13:23 schrieb Daniel Fischer: Am Mittwoch 17 März 2010 12:11:53 schrieb Matthias Reisner: Hi, for a package I need to ensure the user uses a certain package configuration. So how would I