diff --git a/doc/meta.xml b/doc/meta.xml
index 14a01ccb3c0..b36f3915ec1 100644
--- a/doc/meta.xml
+++ b/doc/meta.xml
@@ -138,12 +138,39 @@ meta-attributes
license
- The license for the package. One from the
- attribute set defined in
- nixpkgs/lib/licenses.nix. Example:
- stdenv.lib.licenses.gpl3. For details, see
- .
+
+
+ The license, or licenses, for the package. One from the attribute set
+ defined in
+ nixpkgs/lib/licenses.nix. At this moment
+ using both a list of licenses and a single license is valid. If the
+ license field is in the form of a list representation, then it means
+ that parts of the package are licensed differently. Each license
+ should preferably be referenced by their attribute. The non-list
+ attribute value can also be a space delimited string representation of
+ the contained attribute shortNames or spdxIds. The following are all valid
+ examples:
+
+ Single license referenced by attribute (preferred)
+ stdenv.lib.licenses.gpl3.
+
+ Single license referenced by its attribute shortName (frowned upon)
+ "gpl3".
+
+ Single license referenced by its attribute spdxId (frowned upon)
+ "GPL-3.0".
+
+ Multiple licenses referenced by attribute (preferred)
+ with stdenv.lib.licenses; [ asl20 free ofl ].
+
+ Multiple licenses referenced as a space delimited string of attribute shortNames (frowned upon)
+ "asl20 free ofl".
+
+
+ For details, see .
+
+