From 266a5128c34ea240f3cc429ccc860a1045dc521d Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 25 Jan 2015 14:29:18 +0100 Subject: Fixup white-/blacklisting examples to actually use real licenses --- doc/packageconfig.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') 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: - nixpkgs.config.whitelistedLicenses = [ licenseA licenseB ]; + nixpkgs.config.whitelistedLicenses = with stdenv.lib.licenses; [ amd wtfpl ]; @@ -54,7 +54,7 @@ allowUnfree setting, you can also explicitely deny installation of packages which have a certain license: - nixpkgs.config.blacklistedLicenses = [ licenseA licenseB ]; + nixpkgs.config.blacklistedLicenses = with stdenv.lib.licenses; [ agpl3 gpl3 ]; -- cgit 1.4.1