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-newer/older is documented as a Cabal option, but it's a cabal-install one #7444

Closed
fgaz opened this issue Jun 15, 2021 · 3 comments
Closed
Labels

Comments

@fgaz
Copy link
Member

fgaz commented Jun 15, 2021

The docs say --allow-newer is a Cabal flag

https://cabal.readthedocs.io/en/3.4/setup-commands.html#cmdoption-runhaskell-Setup.hs-configure-allow-newer

but the flag is in ConfigExFlags, which is in cabal-install, so that part of the docs needs moving

Relatedly, we may want to move that option to Cabal, as it'd be useful for distributions. EDIT: #7445

@maralorn
Copy link
Contributor

maralorn commented Jun 15, 2021

Having this in Setup.hs would be great!

Currently in nixpkgs, where we use Setup.hs for every package, we have only to option to ignore all or none of the bounds. More granularity would be great.

@fgaz
Copy link
Member Author

fgaz commented Jun 15, 2021

I opened #7445 to keep track of the feature, so we can use this ticket only for the docs change

@andreasabel andreasabel added the re: allow-newer Concerning `allow-newer` (option and field) label Oct 31, 2021
@ulysses4ever
Copy link
Collaborator

This has been fixed in #7861.

As for getting it back to Setup, there's a long history, which I recap in #7445.

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

No branches or pull requests

5 participants