diff --git a/doc/meta.xml b/doc/meta.xml
index 272e812a03bb..eb644b3b0ee2 100644
--- a/doc/meta.xml
+++ b/doc/meta.xml
@@ -121,10 +121,11 @@ interpretation:
licenseThe license for the package. One from attribute set defined in
-
+
nixpkgs/lib/licenses.nix.
Example:
stdenv.lib.licenses.gpl3.
+ See details in ,
@@ -133,7 +134,7 @@ interpretation:
maintainers of this Nix expression. If
you would like to be a maintainer of a package, you may want to add
yourself to nixpkgs/lib/maintainers.nix
+ xlink:href="https://github.com/NixOS/nixpkgs/blob/master/lib/maintainers.nix">nixpkgs/lib/maintainers.nix
and write something like [ stdenv.lib.maintainers.alice
stdenv.lib.maintainers.bob ].
@@ -159,8 +160,8 @@ interpretation:
meta.platforms = stdenv.lib.platforms.linux;
- Attribute Set stdenv.lib.platforms in
-
+ Attribute Set stdenv.lib.platforms in
+
nixpkgs/lib/platforms.nix defines various common
lists of platforms types.
@@ -202,9 +203,15 @@ meta.hydraPlatforms = [];
Licenses
-The meta.license attribute could be one of the
-following:
+The meta.license attribute should preferrably contain
+a value from stdenv.lib.licenses defined in
+
+nixpkgs/lib/licenses.nix,
+or in-place license description of the same format if the license is
+unlikely to be useful in another expression.
+A few generic options are available, although it's typically better
+to indicate the specific license: