# This file filters out all the broken packages from your package set.# It's what gets built by CI, so if you correctly mark broken packages as# broken your CI will not try to build them and the non-broken packages will# be added to the cache.{pkgs?import<nixpkgs>{}}:letfilterSet=(f:g:s:builtins.listToAttrs(map(n:{name=n;value=builtins.getAttrns;})(builtins.filter(n:fn&&g(builtins.getAttrns))(builtins.attrNamess))));isReserved=n:builtins.elemn["lib""overlays""modules"];isBroken=p:({meta.broken=false;}//p).meta.broken;isFree=p:({meta.license.free=true;}//p).meta.license.free;infilterSet(n:!(isReservedn))# filter out non-packages(p:(builtins.isAttrsp)&&!(isBrokenp)&&isFreep)(import./default.nix{inheritpkgs;})