-
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
Specify version for executable install #2028
Comments
What do you expect to be able to do? You could edit your Here to me a straightforward solution would be to just clone the repo at that version and install it directly. |
Looking to avoid having to edit any files, create any directories. Just want to install something and get the binary in my path. I did end up adding it to my global stack yaml, but I don't think what I'm describing here is an unreasonable user request. It was something people could do with |
I think this is a sensible idea, it's like temporarily changing the extra-deps list. Package identifiers temporarily add extra-deps. It may not be very useful for libraries, but it is indeed useful for executables. If it's a dependency of your package, then it will just get unregistered the next time you build. Since it's easy, I've implemented it! |
@mgsloan wow, thank you! |
Would be nice if this worked without my editing
~/.stack/global-project/stack.yaml
. Any alternatives?The text was updated successfully, but these errors were encountered: