diff --git a/lib/meta.nix b/lib/meta.nix index 5c4627e3cec7..1a1676f56aff 100644 --- a/lib/meta.nix +++ b/lib/meta.nix @@ -434,8 +434,9 @@ rec { getLicenseFromSpdxId = licstr: getLicenseFromSpdxIdOr licstr ( - lib.warn "getLicenseFromSpdxId: No license matches the given SPDX ID: ${licstr}" { + lib.warn "getLicenseFromSpdxId: No license with the given SPDX ID found: ${licstr}" { shortName = licstr; + spdxId = licstr; } );