-
-
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
Error when installing cabal-install #17
Comments
Quick fix for anyone else who was having trouble installing cabal-install: asdf install haskell 8.6.5
asdf global haskell 8.6.5
asdf reshim
stack install cabal-install --resolver lts-14.27 Response to OP: Nothing wrong with your installation exactly, the README is just missing some detail. You need to use the correct resolver to fetch from a Stackage snapshot that has all the packages you need. Adding packages to extra-deps fetches those from Hackage, not a Stackage snapshot, so this works around the problem, but using See here for all the snapshots that contain cabal-install (and the ghc versions they support): https://www.stackage.org/lts-14.27/package/cabal-install-2.4.1.0 |
I've tried running
But it failed:
Adding
extra-deps
, as the message described, fixed the error.But is this expected behavior or there's something wrong with my installation?
The text was updated successfully, but these errors were encountered: