A stack build in the project directory after a fresh clone gives the following error:
Error: While constructing the build plan, the following exceptions were encountered:
In the dependencies for servant-quickcheck-0.0.7.1:
base-compat-batteries must match >=0.10.1 && <0.11, but the stack configuration has no specified
version (latest matching version is 0.10.1)
hspec-2.4.4 from stack configuration does not match >=2.5 && <2.6 (latest matching version is 2.5.0)
servant-0.9.1.1 from stack configuration does not match >=0.13 && <0.14 (latest matching version
is 0.13.0.1)
servant-client-0.9.1.1 from stack configuration does not match >=0.13 && <0.14 (latest matching
version is 0.13.0.1)
servant-server-0.9.1.1 from stack configuration does not match >=0.13 && <0.14 (latest matching
version is 0.13.0.1)
needed since servant-quickcheck is a build target.
Some different approaches to resolving this:
* Consider trying 'stack solver', which uses the cabal-install solver to attempt to find some working
build configuration. This can be convenient when dealing with many complicated constraint errors, but
results may be unpredictable.
* Recommended action: try adding the following to your extra-deps
in /home/matt/Projects/servant-quickcheck/stack.yaml:
- base-compat-batteries-0.10.1
- hspec-2.5.0
- servant-0.13.0.1
- servant-client-0.13.0.1
- servant-server-0.13.0.1
Plan construction failed.
A
stack build
in the project directory after a fresh clone gives the following error: