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

Cabal (the library) advises use of extensions: when that field is deprecated #10042

Closed
mpilgrem opened this issue May 22, 2024 · 2 comments · Fixed by #10044
Closed

Cabal (the library) advises use of extensions: when that field is deprecated #10042

mpilgrem opened this issue May 22, 2024 · 2 comments · Fixed by #10044

Comments

@mpilgrem
Copy link
Collaborator

mpilgrem commented May 22, 2024

Motivation: commercialhaskell/stack#6589

If a Cabal file uses ghc-options: to set language extensions, Cabal (the library) will advise the use of extensions: even when extensions: has been deprecated in favour of default-extensions:.

EDIT: This appears to be true even if the cabal-version: specifies a Cabal package format version that no longer supports extensions: at all.

@ulysses4ever
Copy link
Collaborator

That's an oversight. PR fixing it is welcome!

@mpilgrem mpilgrem self-assigned this May 22, 2024
@mpilgrem
Copy link
Collaborator Author

I'll try to give the fix some attention in the coming days.

@ulysses4ever ulysses4ever linked a pull request May 23, 2024 that will close this issue
5 tasks
@mergify mergify bot closed this as completed in #10044 May 28, 2024
mergify bot added a commit that referenced this issue May 28, 2024
Fix #10042 Don't recommend deprecated/removed 'extensions:' field
mergify bot pushed a commit that referenced this issue Jun 6, 2024
ulysses4ever pushed a commit that referenced this issue Jun 7, 2024
mergify bot added a commit that referenced this issue Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants