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

Option to add add reject-unconstrained-dependencies to the freeze file #5499

Open
quasicomputational opened this issue Aug 6, 2018 · 2 comments

Comments

@quasicomputational
Copy link
Contributor

#5475 landed --reject-unconstrained-dependencies, which is particularly useful with freeze files. However, presently, either the option needs to be specified at every invocation, or you need to know to put it in one of the configuration files, which might affect more than you want it to. I think that it makes more sense for new-freeze to grow an --add-reject-unconstrained-dependencies option (or some suitably bikeshedded name), which will add that to the freeze file.

@hvr
Copy link
Member

hvr commented Aug 6, 2018

@quasicomputational btw, does putting the option in your cabal.project{.local,.freeze} files have the desired effect or do we need to wire it up?

@quasicomputational
Copy link
Contributor Author

It does! I added a test specifically for that.

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

3 participants