On Mon, 2008-11-24 at 15:16 +0100, Thomas Hartman wrote:
> I have run into another issue with cabal packaging, which seems
> related to the issues discussed above. (see attached tar file for
> complete example of failure scenario)
>
> If I have a cabal package that depends on two other packages
>
Don Stewart wrote:
> [...]
>
> Note that packages that depend on the 'experimental' versions of things
> (in particular Haxml 1.19.* can't be packaged for Arch either, as we can
> only install one version of the haskell-haxml package).
In this case we definetely need haxml-1.19. IIRC we even comm
deduktionstheorem:
> Thomas Hartman wrote:
> > When I specify
> >
> > Build-Depends: base, parsec, HaXml >= 1.19.4
> >
> > in xml-parsec.cabal
> >
> > it does install correctly.
>
> I just fixed xml-parsec.cabal and uploaded it on hackage:
> http://hackage.haskell.org/cgi-bin/hackage-scripts/p
On Sat, 2008-11-15 at 13:31 +0100, Thomas Hartman wrote:
> This is all news to me, and un-googleable to boot:
>
> http://www.google.pl/search?hl=en&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=cabal+referred-versions&spell=1
>
> (no results)
It finds something for me (with the right spelling of prefe
Thomas Hartman wrote:
> When I specify
>
> Build-Depends: base, parsec, HaXml >= 1.19.4
>
> in xml-parsec.cabal
>
> it does install correctly.
I just fixed xml-parsec.cabal and uploaded it on hackage:
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/xml-parsec-1.0.3
>
> [...]
>
/
This is all news to me, and un-googleable to boot:
http://www.google.pl/search?hl=en&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=cabal+referred-versions&spell=1
(no results)
So yes, I think this referred-versions machinery should at least be
made more transparent for situations when it does the wron
On Sat, 2008-11-15 at 12:39 +0100, Thomas Hartman wrote:
> When I specify
>
> Build-Depends: base, parsec, HaXml >= 1.19.4
>
> in xml-parsec.cabal
>
> it does install correctly.
Yes, saying what version it needs is a good thing. It's all guesses
otherwise.
> I guess what happens is that cabal
When I specify
Build-Depends: base, parsec, HaXml >= 1.19.4
in xml-parsec.cabal
it does install correctly.
I guess what happens is that cabal install takes the earliest version
of a package registered to try to build. I guess that's a reasonable
default.
What seems unreasonable to me is that