-
Notifications
You must be signed in to change notification settings - Fork 843
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
Solver cabal install hint #4100
Solver cabal install hint #4100
Conversation
Thanks, @adrianwong. Would you like some more newcomer-friendly issues to tackle? |
That's good to hear. Tackle the ones that appeal (and please do continue to note that you'll be working on the issue)! |
(I just wanted to make clear I'd reviewed this — I should have added myself as reviewer earlier) |
Hmm, when i run
|
@dbaynard i fixed it by switching to nix build, which was a suggestion from irc, i'm not even sure if the current ghcjs master can be build with stack |
Some aspects of ghcjs (probably setting up the ghcjs, though not using ghcjs) are in the process of being deprecated #4086. |
Resolves #3841.
Recover from all errors on invoking
proc "cabal" --numeric-version
.This reintroduces the helpful hint to
stack install cabal-install
ifstack solver
is run whencabal
is not on PATH, instead of displaying the exception message propagated from RIO (thanks for the help, @mgsloan!).Please also shortly describe how you tested your change. Bonus points for added tests!
stack solver
on a project using an existing version of stack, with and without cabal on PATHstack solver
on the same project using the modified stack, with and without cabal on PATH. Verified that the helpful hint was displayed without cabal on PATH; verified thatstack solver
ran without issue with cabal on PATH