Install from Hackage fails
halostatue opened this issue · 1 comments
halostatue commented
Using stack install vgrep
:
Error: While constructing the build plan, the following exceptions were encountered:
In the dependencies for vgrep-0.2.2.0:
aeson-1.4.2.0 from stack configuration does not match (>=0.11 && <1.3) || (>=0.9 && <0.10)
(latest matching version is 1.2.4.0)
cabal-file-th must match >=0.2.3, but the stack configuration has no specified version (latest
matching version is 0.2.6)
needed since vgrep is a build target.
Some different approaches to resolving this:
* Recommended action: try adding the following to your extra-deps
in /Users/austin/.stack/global-project/stack.yaml:
- aeson-1.2.4.0@sha256:2ff56812644c3e272fef6b19aaff1ddab81c9984b1c1f8969521cb856bc22eab,6541
- cabal-file-th-0.2.6@sha256:d278ab950813e8bb1ab242a4e43bc50851761421a1e1bc33dae8949926adf548,1158
Plan construction failed.
fmthoma commented
The latest release does not build any more with Stackage LTS 12 and 13. I'm planning to release a new version, but until then, you can work around this by explicitly specifying the Stackage version:
stack --resolver=lts-10 install vgrep