diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2015-01-25 14:29:18 +0100 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2015-01-25 21:19:07 +0100 |
commit | 266a5128c34ea240f3cc429ccc860a1045dc521d (patch) | |
tree | eaeb8fbd9825a0ea6c43222596bfb03a7894fe68 /doc | |
parent | f6b1d828368ea2918e31006688a1cb20f00a347b (diff) |
Fixup white-/blacklisting examples to actually use real licenses
Diffstat (limited to 'doc')
-rw-r--r-- | doc/packageconfig.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/packageconfig.xml b/doc/packageconfig.xml index 2b4038bc24df6..8426fc050e8b2 100644 --- a/doc/packageconfig.xml +++ b/doc/packageconfig.xml @@ -43,7 +43,7 @@ Whenever unfree packages are not allowed, packages can still be whitelisted by their license: <programlisting> - nixpkgs.config.whitelistedLicenses = [ licenseA licenseB ]; + nixpkgs.config.whitelistedLicenses = with stdenv.lib.licenses; [ amd wtfpl ]; </programlisting> </para> </listitem> @@ -54,7 +54,7 @@ <literal>allowUnfree</literal> setting, you can also explicitely deny installation of packages which have a certain license: <programlisting> - nixpkgs.config.blacklistedLicenses = [ licenseA licenseB ]; + nixpkgs.config.blacklistedLicenses = with stdenv.lib.licenses; [ agpl3 gpl3 ]; </programlisting> </para> </listitem> |