package versions for 2012.2.0.0
Mark Wright
gienah at gentoo.org
Thu May 10 08:11:52 BST 2012
On Thu, 10 May 2012 11:58:02 +0900, Jens Petersen <juhpetersen at gmail.com> wrote:
> On 10 May 2012 06:43, Joachim Breitner <nomeata at 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 at mtl >= 1.1 && < 2.1 at mtl >= 1.1 \&\& < 2.2@' \
-i "${S}/${PN}.cabal" || die "Could not loosen dependencies"
}
Thanks, Mark
More information about the Haskell-platform
mailing list