[Haskell-cafe] zlib build failure on recent GHC

Johan Tibell johan.tibell at gmail.com
Mon Nov 7 21:39:05 CET 2011

On Mon, Nov 7, 2011 at 12:06 PM, Jason Dagit <dagitj at gmail.com> wrote:

> > This is due to a change in how FFI imports and newtypes work. GHC was
> > recently changed to not allow you to use newtypes in FFI imports unless
> the
> > constructor of the newtype is in scope. This broke quite a few
> libraries. I
> > have patched a few of them and I've sent a patch to the zlib maintainer.
> This seems like a big change.  Where should I be watching to know
> about this ahead of time?  I bet I have to fix some of my packages.

I suppose it will be in the release notes. I saw it on the GHC mailing list.

-- Johan\
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111107/98f79697/attachment.htm>

More information about the Haskell-Cafe mailing list