Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install from Hackage fails #52

Open
halostatue opened this issue Jun 18, 2019 · 1 comment
Open

Install from Hackage fails #52

halostatue opened this issue Jun 18, 2019 · 1 comment

Comments

@halostatue
Copy link

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
Copy link
Owner

fmthoma commented Jun 18, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants