phonohawk/HsOpenSSL — Issue #7: Haskell Platform 2011.4 Support
Author: stepcut
Created: 2012-03-05 17:41:20+00:00
State: open

Hello,

HsOpenSSL does not build against Haskell Platform 2011.4 (GHC 7.0.4), because two modules import Foreign.ForeignPtr.Unsafe, which does was not added until base 4.4.

The two fixes I see are:

1. continue to import unsafeForeignPtrToPtr from Foreign.ForeignPtr until it is really removed from that module.

2. use conditionals on the version of base to pick where to import it from

happstack-server-tls uses HsOpenSSL and this makes it tricky to install.

- jeremy