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

New constraint formall installed #8186

Open
andreasabel opened this issue May 31, 2022 · 1 comment
Open

New constraint formall installed #8186

andreasabel opened this issue May 31, 2022 · 1 comment
Labels
re: constraint Concerning the constraint syntax, field, and command-line option

Comments

@andreasabel
Copy link
Member

There is already the syntax --constraint='bytestring installed' e.g. to constrain bytestring to the version shipped with GHC.
It would be nice to have the shortcut --constraint='all installed' to constrain all GHC shipped packages to their installed versions.

Lifted from:

@andreasabel andreasabel added the re: constraint Concerning the constraint syntax, field, and command-line option label May 31, 2022
@jneira
Copy link
Member

jneira commented Jun 1, 2022

out of curiosity, it that constraint documented anywhere (package installed)?

Answering myself: https://cabal.readthedocs.io/en/latest/setup-commands.html?highlight=installed#cmdoption-runhaskell-Setup.hs-configure-constraint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
re: constraint Concerning the constraint syntax, field, and command-line option
Projects
None yet
Development

No branches or pull requests

2 participants