You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Several packages use BSD-3-Clause as a license, in conjonction with cabal-version: >=1.10 which cabal parses as Right (UnknownLicense "BSD-3").
If I change teh cabal-version to cabal-version: 2.2 , cabal correctly identifdies the license License (ELicense (ELicenseId BSD_3_Clause)).
Remediation:
either update cabal-version from >= 1.1. to 2.2
or change BSD-3-Clause to BSD3
My preference goes to the first solution (because SPDX is good) but the second doesn't need a bump in cabal-version.
I can provide a PR once a consensus is reached.
The text was updated successfully, but these errors were encountered:
@teto Hi, and thank for reporting this!
As a co-maintainer, my opinion is to specify 2.2 as the minimum version for Cabal files, but I'll ask the other @haskell-servant/maintainers for their opinion.
while running cabal2nix on servant (to be able to reference the master version from nix), I hit the following issue:
I first thought this was a cabal2nix issue but a few debug statements later, I think it's servant that incorrectly specifies its license. Cabal supports two types of licenses, native and SPDX, which can be seen here https://hackage.haskell.org/package/Cabal-3.6.2.0/docs/Distribution-Types-PackageDescription.html#v:licenseRaw
Several packages use
BSD-3-Clause
as a license, in conjonction withcabal-version: >=1.10
which cabal parses asRight (UnknownLicense "BSD-3")
.If I change teh cabal-version to
cabal-version: 2.2
, cabal correctly identifdies the licenseLicense (ELicense (ELicenseId BSD_3_Clause))
.Remediation:
>= 1.1.
to2.2
My preference goes to the first solution (because SPDX is good) but the second doesn't need a bump in cabal-version.
I can provide a PR once a consensus is reached.
The text was updated successfully, but these errors were encountered: