lib.getLicenseFromSpdxId: improve documentation

This commit is contained in:
Yueh-Shun Li
2024-06-30 02:27:03 +08:00
parent 9f7e48175b
commit 319736f69f

View File

@@ -287,10 +287,10 @@ rec {
all (elem: !platformMatch platform elem) (pkg.meta.badPlatforms or []); all (elem: !platformMatch platform elem) (pkg.meta.badPlatforms or []);
/** /**
Get the corresponding attribute in lib.licenses Get the corresponding attribute in lib.licenses from the SPDX ID
from the SPDX ID. or warn and fallback to `{ shortName = <license string>; }`.
For SPDX IDs, see
https://spdx.org/licenses For SPDX IDs, see https://spdx.org/licenses
# Type # Type