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

Determine package databases intelligently #37

Closed
snoyberg opened this issue May 19, 2015 · 2 comments
Closed

Determine package databases intelligently #37

snoyberg opened this issue May 19, 2015 · 2 comments

Comments

@snoyberg
Copy link
Contributor

Consider a project with a stack.yaml at $DIR/stack.yaml. I propose the following rules:

  • If using an LTS or Nightly, and none of the packages in the stack.yaml file shadow a package in the LTS or Nightly:
    • install dependencies into ~/.stack/shared-database/lts-X.Y or something like that
    • install local packages to $DIR/.stack-database
  • Otherwise, put everything in $DIR/.stack-database

We can short term just use $DIR/.stack-database

@DanBurton
Copy link
Contributor

This would be fantastic.

@snoyberg
Copy link
Contributor Author

Complete

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