Fix builds of free packages (#7)

The license.free field is set to false for non-free packages, for free
packages it is set to true or is missing entirely. Thus we need to
default the case of a missing field to true, not false.
This commit is contained in:
Robert Helgesson 2019-04-07 15:23:49 +02:00 committed by zimbatm
parent 6a90fd0664
commit 4056f4e33d

2
ci.nix
View file

@ -17,7 +17,7 @@ let
isReserved = n: n == "lib" || n == "overlays" || n == "modules";
isDerivation = p: isAttrs p && p ? type && p.type == "derivation";
isBuildable = p: !(p.meta.broken or false) && p.meta.license.free or false;
isBuildable = p: !(p.meta.broken or false) && p.meta.license.free or true;
isCacheable = p: !(p.preferLocalBuild or false);
shouldRecurseForDerivations = p: isAttrs p && p.recurseForDerivations or false;