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

Allow hackage packages to be target packages #1904

Closed
mgsloan opened this issue Mar 11, 2016 · 1 comment
Closed

Allow hackage packages to be target packages #1904

mgsloan opened this issue Mar 11, 2016 · 1 comment

Comments

@mgsloan
Copy link
Contributor

mgsloan commented Mar 11, 2016

Something like:

packages:
- location:
    hackage: xmonad

This would install the version xmonad that's in the resolver. Packages that are not in the resolver would require an explicit version number. This is useful when people want to have a stack configuration which installs some package by default. Perhaps some executable they depend on, or some package they want to package up in a docker image. The main motivating case right now is that some folks want to use stack kinda like a package manager - #1610 #1899 .

We may want to address this cluster of issues first - #1631 #1265 #849 . As the packages vs extra-deps distinction and behaviors is still a bit confusing and doesn't behave as consistently as we'd like with ghc-options and flags. Having hackage packages directly in the packages list could confuse the distinction more. It'd be best to clean this stuff up before extending it further.

@mgsloan
Copy link
Contributor Author

mgsloan commented Mar 17, 2017

I think this is adequately covered by either unpacking the package or using a repo, closing.

@mgsloan mgsloan closed this as completed Mar 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant