-
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
Provide --resolver global
option
#645
Comments
OK, give it a shot now on master. |
@snoyberg hmm, doesn't seem to work for me:
|
I'm an idiot, I completely misread the issue as Just to clarify how I think you're asking for this to work: this will take the resolver value from the global stack.yaml and reuse it, but then be equivalent to just passing that resolver in via I'm not certain I understand the use case here, which is probably why I got confused in the first place. |
Haha :) no problem.
Yes, intension was, if you have lts-2.16 in global stack.yaml, to have:
…--resolver global
To be the same as
--resolver lts-2.16
|
Alright, should be working this time, can you test it out? |
@snoyberg works like a charm, thank you! |
What do you think about allowing |
For the record, it's really unintuitive that argument order matters, and that stack install --resolver nightly ihaskell fails while
works. I'm not sure if this is on purpose, though...? |
@gibiansky: see #519 |
Provide a
--resolver=global
to overwrite resolver, defined in local stack.yaml with a resolver defined in~/.stack/global/stack.yaml
. This is convenient way to not have to remember which is your global resolver when you want to reuse your global db.The text was updated successfully, but these errors were encountered: