Remove the "proprietary" license

We already had "unfree".
This commit is contained in:
Eelco Dolstra
2013-04-12 14:37:50 +02:00
parent 4a429f5276
commit 4adad458e7
10 changed files with 12 additions and 16 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ let
# Add a utility function to produce derivations that use this
# stdenv and its shell.
mkDerivation = attrs:
if !allowUnfree && (let l = attrs.meta.license or ""; in l == "unfree" || l == "unfree-redistributable" || l == lib.licenses.proprietary) then
if !allowUnfree && (let l = attrs.meta.license or ""; in l == "unfree" || l == "unfree-redistributable") then
throw "package ${attrs.name} has an unfree license, refusing to evaluate"
else
lib.addPassthru (derivation (