-
Notifications
You must be signed in to change notification settings - Fork 11
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
Can't install with stack #9
Comments
You're seeing this error because the resolver (package set) being used by stack for your project includes a version of One way to fix this is by modifying your stack.yaml file: change the resolver to Your issue might then be renamed "Version 0.2.3 is not on Stackage" |
Great, thanks for this!
Lawrence Dunn <[email protected]> writes:
… You're seeing this error because the resolver (package set) being used by stack for your project includes a version of `aeson-pretty` that conflicts with the dependencies of the `hakyll-sass` version you are trying to install. You get the same conflict when you try to install the latest version because it too conflicts with the older version (naturally).
One way to fix this is by modifying your stack.yaml file: change the resolver to `lts-9.0` so that you are working with the latest package versions, including `aeson-pretty-0.8.5`. Then add `hakyll-sass-0.2.3` to your extra-deps, because version 0.2.3 is not in the `lts-9.0` resolver but it is on Hackage, so stack will get it from there.
Your issue might then be renamed "Version 0.2.3 is not on Stackage"
|
I'm a haskell beginner, and I'm trying to follow the instructions on the hakyll tutorial. I run these commands:
stack install hakyll
hackyll-init hackyll-test
cd hakyll-test
stack init
stack build
stack init site build
And that allows me to run Hakyll OK. But then if I run
cabal install hakyll-sass
as in the readme, it can't find the module, and I can't import it. Then if I trystack install hakyll-sass
, I get these errors:But if I try
stack install aeson-pretty-0.8.5
I get the same error. I can't seem to install hakyll-sass in a way that hakyll (under stack) can see it.The text was updated successfully, but these errors were encountered: