Fixup white-/blacklisting examples to actually use real licenses
This commit is contained in:
parent
f6b1d82836
commit
266a5128c3
@ -43,7 +43,7 @@
|
|||||||
Whenever unfree packages are not allowed, packages can still be
|
Whenever unfree packages are not allowed, packages can still be
|
||||||
whitelisted by their license:
|
whitelisted by their license:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
nixpkgs.config.whitelistedLicenses = [ licenseA licenseB ];
|
nixpkgs.config.whitelistedLicenses = with stdenv.lib.licenses; [ amd wtfpl ];
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
@ -54,7 +54,7 @@
|
|||||||
<literal>allowUnfree</literal> setting, you can also explicitely
|
<literal>allowUnfree</literal> setting, you can also explicitely
|
||||||
deny installation of packages which have a certain license:
|
deny installation of packages which have a certain license:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
nixpkgs.config.blacklistedLicenses = [ licenseA licenseB ];
|
nixpkgs.config.blacklistedLicenses = with stdenv.lib.licenses; [ agpl3 gpl3 ];
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user