[ANNOUNCE] GHC 8.2.1 release candidate 2

Alberto Valverde alberto at toscat.net
Fri May 26 09:11:05 UTC 2017

Hi Ryan,

Some preogress... The cabal issues I reported seem more of a nix issue but
I'm not sure what is causing them. FWIW, nix does not use cabal-install at
all but instead compiles the Setup.hs script and runs that.

The weird thing is that i'm trying to reproduce what the nix
haskell-package builder [1] does and the problem I described (no Main.hs
could be found) does not occur but instead the Main.hs module fails to
compile due to an unrelated error. So it seems that, somehow, the unrelated
compile error is being mistaken by a lack of module.

Even weirder is that the snap-server.cabal says that the failing
executables should only be built when flags are enabled (which are disabled
by default) but they are being built anyway when nix calls Setup, even when
I explicitly disable them via nix. The nix build log [2] even says that the
flags (build-pong and build-testserver) are disabled! However, If I
manually execute Setup the configure flags are honored.

I'll continue to investigate to try and make some sense of this but I think
it's not cabal's fault so feel free to ignore me for the meantime. I'll
chime back if/when I find it is an issue with the new Cabal.



On Tue, May 23, 2017 at 6:28 PM, Ryan Scott <ryan.gl.scott at gmail.com> wrote:

> Alberto,
> > I've manage to reproduce the CK bug without any external dependencies and
> > opened a ticket with an attached module that fails to compile with
> > 8.2.1-rc2 (w/o explicit KindSignature) but compiles fine with 8.0.2.
> Thanks for doing this!
> > Will hopefully follow up soon with the Cabal issues I'm experiencing
> One thing that might be useful to do is to invoke Cabal with high
> verbosity (e.g., -v3) and post the logs somewhere. I wouldn't be surprised
> if Nix was passing some uncommonly used flags that have regressed in recent
> versions of Cabal.
> Ryan S.
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20170526/fd3d5d8e/attachment.html>

More information about the ghc-devs mailing list