--
https://qlfiles.net
My PGP public key ID is 0x340EA95A (pgp.mit.edu).
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.
On Tue, Aug 23, 2016 at 09:32:56PM -0800, Christopher Howard wrote:
> Hi list. Hackage cannot build my package, because for some reason it
> will only use base-4.9.0.0, which does not satisfy the dependencies of
> some of my dependencies.
There's a dependency between the GHC version and the base library
version, each GHC comes with its own base library.
In the case of base-4.9.0.0 you are using GHC 8.0.1, which is the
latest and quite new compiler version, so most likely some of
your dependencies just don't support GHC 8.0.1 yet.
For now it might be easier to stick with GHC 7.10, until more
libraries are updated.
Greetings,
Daniel
Well, I know the reason it cannot build with base-4.9.0.0: My library is
fully compatible with base (>=4.6 && <4.10), but it depends on the Gloss
library (>=1.7 && <1.10). I cannot use Gloss 1.10, because Gloss 1.10
has a breaking API change on one of the Gloss functions I use in my
library, which I could only get around if I used a lot of conditional
code, which I haven't done yet. However, only Gloss 1.10.* is compatible
with base-4.9.0.0.
http://hackage.haskell.org/package/mars
http://hackage.haskell.org/package/mars-0.2.1.0/reports/
Hackage, it is seems, will only try building with base-4.9.0.0, rather
than reverting to an earlier version and compiler. The package builds
just fine on my system, using an earlier base and compiler. So, I guess
the question is, do I have to further restrict the dependencies of my
library (to exclude 4.9.0.0) just because one of my dependencies cannot
handle that version?
So you're saying that gloss <1.10 builds with base 4.9?
Then ask the maintainer of gloss if there would be any issues of
supporting base 4.9 with gloss 1.9.
Most likely they didn't bother to support newer ghcs with older
gloss versions. But If they're nice they might release a new
gloss 1.9 version supporting base 4.9.