Skip to content
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

Add --resolver param to stack build #505

Closed
k-bx opened this issue Jul 3, 2015 · 4 comments
Closed

Add --resolver param to stack build #505

k-bx opened this issue Jul 3, 2015 · 4 comments

Comments

@k-bx
Copy link
Contributor

k-bx commented Jul 3, 2015

Stack comes with lts-2.9 resolver in stack.yaml. I know I already have a lot installed for lts-2.16 set of packages, and using this resolver would let me:

  1. save disk space
  2. save build time

Right now I had to edit stack.yaml, but what I'd like instead is to be able to do stack build --resolver lts-2.16.

As usual, if this seems like a good feature, I can put that on my queue and implement.

@snoyberg
Copy link
Contributor

snoyberg commented Jul 3, 2015

Did you try running that command? It should actually work exactly as you typed it :)

@snoyberg
Copy link
Contributor

snoyberg commented Jul 3, 2015

Sorry, it seems that --resolver lts-2.16 has to come before build, so stack --resolver lts-2.16 build. I'm not sure why that's the case, @chrisdone any thoughts?

@k-bx
Copy link
Contributor Author

k-bx commented Jul 3, 2015

Oops, I only read stack build --help and didn't find resolver there.

@snoyberg
Copy link
Contributor

snoyberg commented Jul 5, 2015

I'll open a separate issue about allowing --resolver to be placed either before or after the command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants