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

Bump cabal-version to 2.2 #6377

Merged
merged 1 commit into from
May 18, 2020
Merged

Bump cabal-version to 2.2 #6377

merged 1 commit into from
May 18, 2020

Conversation

Aver1y
Copy link
Contributor

@Aver1y Aver1y commented May 18, 2020

In b3cfdc2 the license was changed to GPL-2.0-or-later which is an SPDX expression, however cabal only interprets the license field as an SPDX expression if cabal-version is 2.2 or later.

Starting with 2.2 cabal-version also has to be the first statement in the .cabal file.

Starting with cabal-version: 2.2 the license field takes a (case-sensitive) SPDX expression [...]

https://www.haskell.org/cabal/users-guide/developing-packages.html#pkg-field-license

I noticed this because cabal2nix was acting up that the license was invalid.

In b3cfdc2 the license was changed to GPL-2.0-or-later which is an
SPDX expression, however cabal only interprets the license field as an
SPDX expression if cabal-version is 2.2 or later.

Starting with 2.2 cabal-version also has to be the first statement in
the .cabal file.
@jgm jgm merged commit 57fa394 into jgm:master May 18, 2020
@jgm
Copy link
Owner

jgm commented May 18, 2020

Thanks

@Aver1y Aver1y deleted the cabal-2.2 branch May 19, 2020 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants