Closed shubhamkumar13 closed 2 years ago
Looks like the stockquotes library depends on diagrams-core 1.5, but currently chart-diagrams requires >= 1.3 && < 1.5.
I didn’t know that the chart library is used in the Haskell in Depth book. How does that book recommend you manage dependencies so the examples continue to work? As a stack user I’m not familiar with modern cabal.
This looks like to be fixed by 93a1a842139daf249b61f90c7f3f679433cf329a, however there were neither minor version bump, no Hackage update. You have to create cabal.project
in project root and specify source-repository-package
with exact commit number to succeed with building project.
Can you please bump versions and upload a version with restricted upped bounds on diagrams-core
to Hackage?
I'm happy to do a release if current master is what you need.
I'm happy to do a release if current master is what you need.
Well, all I've tested is that relaxed upper constraint makes package buildable with GHC 8.10.7 indeed. I don't know about other differencies of master branch from current Hackage release. Althought I believe new release could be helpfull for other people.
Thanks
Builds okay now, can be closed.
I was going through the Haskell in Depth exercise in Part 1 - Chapter 3 and the exercise to build a small application which uses
Chart
andChart-diagram
.But when I try to build
Chart-diagram
(in the .cabal file) I end up with the following error.I'm running this on a m1 mac and using
ghc.8.10.7