Closed jezen closed 4 years ago
Digging into this some more, it appears the problem is that the hspec-hedgehog.cabal
file specifies a hedgehog
dependency version range between >= 1.0.0 && < 2
, whereas the TerminationCriteria
type is not exported from Hedgehog.Internal.Property
until version 1.0.2
.
Stack cannot currently see the newest version of this (with this fix), which meant I encountered this exact same build issue.
You'll need to specify the newer version of hspec-hedgehog-0.0.1.2
in extra-deps
or upgrade to the latest nightly resolver.
I'm trying to build
hspec-hedgehog-0.0.1.1
with Nix, but it fails with a compilation error.Here is the command I am using to generate the Nix expression for this package (since the only version on the pinned version of nixpkgs I am using is
0.0.0.1
, which is marked as broken):…Which generates the following expression:
…which produces the following compilation error