I am developing on nixos and the package Chart-cario
worked fine with cabal. I thought I might want to give the option to build my library via stack
, too, and then the error appeared when I ran stack build
:
Chart-cairo needed, but the stack configuration has no specified version (latest matching version is 1.9.3)
Chart-gtk3 needed, but the stack configuration has no specified version (latest matching version is 1.9.3)
Following the recommendation and specifying extra-deps in stack.yaml didn’t lead anywhere as there a lot of dependencies that don’t seem to be in the recent stackage snapshots, either.
At least this is how it looks like to me:
https://www.stackage.org/package/Chart-cairo/snapshots
Here you can see that Chart-cairo
has not been in any snapshot since March 2018. I don’t understand why. As I said, in my nixos/cabal setup the package works out of the box.
Is there a reason why a package gets lost like this? There is even a newer version 1.9.3 on hackage that never made it into any snapshot.