Closed yaitskov closed 2 years ago
master builds without problems:
sources.cassava = pkgs.fetchFromGitHub {
owner = "haskell-hvr";
repo = "cassava";
rev = "2348030aec2a19f12a633bf553bf81ff59be37a5";
sha256 = "11zm3ismvy9kpqphh3lpxvgy595fs7arnjvgkzvl54lhyh71gfzl";
};
I don't see tag 0.5.2.0 on github. So I guess hackage is somehow corrupted.
There is a tag 0.5.2.0 on github now.
Note that 0.5.2.0 has been revised on hackage several times to make it build in an updated ecosystem: https://hackage.haskell.org/package/cassava-0.5.2.0/revisions/
I don't know what fromHackage
does, but if it only gets the original tarball, the revisions will not be included, and it won't work. In contrast cabal get
also retrieves the revisions and patches the cabal file after unpacking the tarball.
Hackage page states requirement base less than 4.16 but compilation fails with:
I run ghc-8.10.4