From 4056f4e33db7229b1908d66ba100105613ca9f8f Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sun, 7 Apr 2019 15:23:49 +0200 Subject: [PATCH] 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. --- ci.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci.nix b/ci.nix index 1377d43..47d2236 100644 --- a/ci.nix +++ b/ci.nix @@ -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;