Closed deepakjois closed 9 years ago
Happy to fix it if somebody gives me some context around what exactly changed?
Looks like you're not using the current diagrams-lib
from github in your sandbox. You'll probably also need the new diagrams-core
, active
and force-layout
.
This is a completely clean sandbox. So it should load the dependencies as specified in the cabal file.
Here is the snipped output of the dependencies being loaded
Loading package active-0.1.0.16 ... linking ... done.
Loading package force-layout-0.3.0.7 ... linking ... done.
Loading package diagrams-core-1.2.0.2 ... linking ... done.
Loading package diagrams-lib-1.2.0.4 ... linking ... done.
According to Hackage, that's the latest diagrams.
Sorry, I misread your comment. So I guess I need to build diagrams from Github.
Yes, if you want to use the diagrams-contrib
from github. We've recently undergone a port to linear
so pretty much everything's been rewritten. I guess we should change the versions and dependencies on the github versions so it won't let you try to install the old ones from Hackage.
Seems like this is settled.
Building diagrams-contrib inside a cabal sandbox gives me this error:
Let me know if you need additonal information. The commands I am running are simply:
OS X 10.9, GHC v7.6.3