On Thu, 10 May 2012 11:58:02 +0900, Jens Petersen <juhpeter...@gmail.com> wrote:
> On 10 May 2012 06:43, Joachim Breitner <nome...@debian.org> wrote:
> >>    mtl                     2.0.1.0    --> 2.1.1
> >
> > I just noticed that many package on hackage do not build with mtl-2.1.1
> > yet, lots of red entries on http://packdeps.haskellers.com/reverse/mtl
> 
> Yes, I tend to agree, and by implication the same applies also for
> transformers-0.3.
> 
> Fedora development is also still on mtl-2.0 and transformers-0.2.2.
> 
> Though maybe it is partly also a "chicken and egg" kind of problem?
> 
> Jens

I think that the haskell platform should use the current versions
mtl 2.1.1 and transformers 0.3.0.0.

We use these versions in the Gentoo Haskell overlay.  Most stuff
builds with these versions with trivial sed's or patches to relax the
mtl and/or transformers dependencies.  Please feel free (anyone, any distro)
to use our patches/seds or to create your own based on these:

https://github.com/gentoo-haskell/gentoo-haskell

For example, in sci-mathematics/agda/agda-2.3.0.1.ebuild:

        epatch "${FILESDIR}"/${PN}-2.3.0.1-haskell-src-exts-1.13.patch
        epatch "${FILESDIR}"/${PN}-2.3.0.1-mtl-2.1.patch

the patches are in the files subdir.

In dev-haskell/haskeline/haskeline-0.6.4.6-r1.ebuild:

src_prepare() {
        sed -e 's@mtl >= 1.1 && < 2.1@mtl >= 1.1 \&\& < 2.2@' \
                -i "${S}/${PN}.cabal" || die "Could not loosen dependencies"
}

Thanks, Mark

_______________________________________________
Haskell-platform mailing list
Haskell-platform@projects.haskell.org
http://projects.haskell.org/cgi-bin/mailman/listinfo/haskell-platform

Reply via email to