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
Support reinstalling stack hook #429
Comments
In GitLab by @maerwald on Oct 4, 2022, 11:26 Reinstalling stack hook works like this:
The bootstrap script can be re-run at any given time. |
In GitLab by @brandonchinn178 on Oct 4, 2022, 11:34 Yes, I understand. I could also manually redownload ghc-install.sh from tbe ghcup repo. But I think it'd be nice to provide a ghcup command to reinstall hooks. And/or mention in the docs that the bootstrap command is idempotent and can be run multiple times. |
In GitLab by @maerwald on Oct 8, 2022, 21:21
|
In GitLab by @brandonchinn178 on Oct 9, 2022, 24:47 I mean in the web docs. I'm not going to rerun the curl/sh command if I don't remember that it pauses/is rerunnable |
In GitLab by @maerwald on Oct 9, 2022, 11:19 PR welcome. |
This is documented already: https://www.haskell.org/ghcup/guide/#strategy-2-stack-hooks-new-recommended |
In GitLab by @brandonchinn178 on Oct 2, 2022, 08:17
Sometimes I like to nuke
~/.stack
and rebuild it, but I can't seem to get ghcup to reinstall the stack hook. I can do it manually for now, but it'd be nice to have some option for ghcup to do itThe text was updated successfully, but these errors were encountered: