doc: clarify whitelistedLicenses

see the following for more info:
076860e034/pkgs/stdenv/generic/check-meta.nix (L229)
This commit is contained in:
Graham Bennett 2020-11-28 10:25:13 +01:00 committed by Pavol Rusnak
parent 78d2aa55ef
commit 6771aa3093
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -169,6 +169,9 @@
}
</programlisting>
</para>
<para>
Note that <literal>whitelistedLicenses</literal> only applies to unfree licenses unless <literal>allowUnfree</literal> is enabled. It is not a generic whitelist for all types of licenses. <literal>blacklistedLicenses</literal> applies to all licenses.
</para>
</listitem>
</itemizedlist>