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

stack install hood --resolver lts-12.0 fails #8

Open
FranklinChen opened this issue Jul 9, 2018 · 5 comments
Open

stack install hood --resolver lts-12.0 fails #8

FranklinChen opened this issue Jul 9, 2018 · 5 comments

Comments

@FranklinChen
Copy link

This is not really a problem with hood but a problem with FPretty but I wanted to note it here for reference:

$ stack install hood --resolver lts-12.0

Error: While constructing the build plan, the following exceptions were encountered:

In the dependencies for hood-0.3.1:
    FPretty needed, but the stack configuration has no specified version  (latest
            matching version is 1.1)
needed since hood is a build target.
@l8l
Copy link

l8l commented Aug 23, 2021

Same issue with cabal: Running cabal install hood returns rejecting: base-4.14.2.0/installed-4.14.2.0 (conflict: FPretty => base>=4.5 && <4.11). Please implement another pretty formatter for hood, otherwise it becomes unusable for more recent versions of the base package! Is there any hope that this will be done any time soon? If not, are there any alternatives to hood? Thanks!

@FranklinChen
Copy link
Author

I had no choice but to fork FPretty for my own use: https://github.com/FranklinChen/FPretty

@smith558
Copy link

Same issue for me. As a beginner, I am struggling to figure out how to resolve this. How did you make it work for you? @FranklinChen

@FranklinChen
Copy link
Author

@smith558 In my stack.yaml I use

extra-deps:
- git: https://github.com/FranklinChen/FPretty
  commit: a063e081f1bf9168321f130a4fc3ae692f388f57

@smith558
Copy link

@FranklinChen What Haskell and hood versions are you running? I (believe) I managed to get hood-0.3.1 running but my results are inconsistent. I am having the same issue as previously reported in #7 (most values are not captured).

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

3 participants