[arch-haskell] Upgrade to 7.4.2

Mark Wright gienah at gentoo.org
Sat Oct 12 07:40:14 UTC 2013


Magnus Therning <magnus at therning.org> writes:

> I've been working on upgrading [haskell] to Ghc 7.4.2 for a few days
> now.  So far no luck :(
>
> The build always fails on creating documentation.  Yesterday I
> resorted to taking the source package from [extra], which is known to
> build fine... but still it failed on generating the docs.  I now
> suspect this is due to the limited memory available on the machine I
> use to build (1.5GB).

Hi Magnus,

On Gentoo we build haddock with:

runghc Setup.hs configure --ghc-options=-rtsopts 

https://github.com/gentoo-haskell/gentoo-haskell/blob/master/dev-haskell/haddock/haddock-2.10.0-r1.ebuild

and then add these options when running haddock:

+RTS -K16M -RTS

Also this upstream patch is useful to avoid haddock failing on unicode chars:

https://github.com/gentoo-haskell/gentoo-haskell/blob/master/dev-haskell/haddock/files/haddock-2.10.0-dont-crash-on-unicode-strings-in-doc-comments.patch

Please feel free to use any patches in the Gentoo Haskell overlay:

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

Regards, Mark




More information about the arch-haskell mailing list