Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2019 12:24:25 +0400
From:      Gleb Popov <6yearold@gmail.com>
To:        freebsd-haskell@freebsd.org
Subject:   Re: Anyone working on adding a GHC 8.8.1 port?
Message-ID:  <CALH631m9bYXy=9H2jffm0zGp8uCbeGxf7jKf21Jtmpx-caynNw@mail.gmail.com>
In-Reply-To: <20190930054031.GL21772@straasha.imrryr.org>
References:  <20190929234421.GH21772@straasha.imrryr.org> <CALH631k6NcjL9T=byd58BSMOGJx8a5Q=hMzYdtPNZWETzw7kmw@mail.gmail.com> <20190930054031.GL21772@straasha.imrryr.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 30, 2019 at 9:47 AM Viktor Dukhovni <ietf-dane@dukhovni.org>
wrote:

> 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.
> _______________________________________________
> freebsd-haskell@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-haskell
> To unsubscribe, send any mail to "freebsd-haskell-unsubscribe@freebsd.org"
>

I'll try to prepare stack bindists of 8.8.1 on this week, if you need
those. I just thought that 8.8.1 is too bleeding-edge and most packages
aren't prepared for base 4.13.

I also had no need in the patch you provided. Why did you have to add it?
Any error messages?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631m9bYXy=9H2jffm0zGp8uCbeGxf7jKf21Jtmpx-caynNw>