Anyone working on adding a GHC 8.8.1 port?
Viktor Dukhovni
ietf-dane at dukhovni.org
Mon Sep 30 05:47:45 UTC 2019
On Mon, Sep 30, 2019 at 09:33:02AM +0400, Gleb Popov wrote:
> > I see that stackage is starting to use GHC 8.8.1 in the nightly
> > snapshots. Is it perhaps time to spin up a GHC 8.8.1 port?
>
> I have a patch prepared, but it is currently blocked by cabal-install. I
> haven't yet managed to build it against Cabal-3.0.0.0.
Thanks! For GHC 8.8.1 itself, I had to apply the patch below to
get it to to build. That said, "stack" does not yet support GHC
8.8.1 on FreeBSD it seems, so my projects must wait for that shoe
to drop. Have not yet tried to do anything with cabal-install.
--- a/libraries/base/System/Environment/ExecutablePath.hsc
+++ b/libraries/base/System/Environment/ExecutablePath.hsc
@@ -39,6 +39,7 @@ import Foreign.Marshal.Array
import Foreign.Ptr
import Foreign.Storable
import System.Posix.Internals
+#include <sys/types.h>
#include <sys/sysctl.h>
#elif defined(mingw32_HOST_OS)
import Control.Exception
--
Viktor.
More information about the freebsd-haskell
mailing list