Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add support for latest version of intervals library #170

Closed
peti opened this issue Mar 31, 2014 · 6 comments
Closed

Please add support for latest version of intervals library #170

peti opened this issue Mar 31, 2014 · 6 comments

Comments

@peti
Copy link

peti commented Mar 31, 2014

I'm trying to update several packages in NixOS, but these updates cause build errors with diagrams-lib. There seems to be missing constructor I? Not sure what is going on. A complete build log is at http://hydra.cryp.to/build/45141/nixlog/2/raw.

@peti
Copy link
Author

peti commented Mar 31, 2014

Apparently, the issue is caused by the update to intervals version 0.7. I'll just defer that update for the time being ... but it would be great if an updated version of diagrams-lib could be released that supports the latest version of the intervals package!

@peti peti changed the title Version 1.1.0.3 doesn't compile Please add support for latest version of intervals library Mar 31, 2014
@byorgey
Copy link
Member

byorgey commented Mar 31, 2014

Did you edit diagrams-lib.cabal to remove the dependency upper bounds? Otherwise I don't understand why your build would have chosen intervals-0.5.1.1, since we specify intervals < 0.5. That's your perogative, of course, but ignoring the upper bounds and then filing build errors when it doesn't work is not particularly helpful.

We are aware of the issue; see ekmett/intervals#12 and commercialhaskell/stackage#204. Given that intervals has been changing rapidly (it has had three major version bumps since Friday) it seems prudent to wait a bit until the dust settles.

@peti
Copy link
Author

peti commented Mar 31, 2014

@byorgey, yes, we had to "jailbreak" diagram-lib in NixOS/nixpkgs@9308d93 to work around overly restrictive dependency specifications. You are right that there is no build error with the upper bound on intervals in place. It's just that we would like to update intervals to the latest version, and it would be great if diagrams-lib would co-exist with that new version.

@byorgey
Copy link
Member

byorgey commented Mar 31, 2014

Note that as of the 1.1 release diagrams-lib works with the latest semigroups.

@peti
Copy link
Author

peti commented Apr 1, 2014

Yes, I know.

@byorgey
Copy link
Member

byorgey commented Apr 4, 2014

Fixed in diagrams-lib-1.1.0.4.

@byorgey byorgey closed this as completed Apr 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants