Skip to content

Commit

Permalink
fix cache outputs based on source provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
bandithedoge committed Jan 25, 2025
1 parent 38e1e26 commit 3b1d1c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ with builtins; 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 true;
isCacheable = p: !(p.preferLocalBuild or false) && pkgs.lib.any (prov: !prov.isSource) (p.meta.sourceProvenance or []);
isCacheable = p: !(p.preferLocalBuild or false) && !(pkgs.lib.any (prov: !prov.isSource) (p.meta.sourceProvenance or []));
shouldRecurseForDerivations = p:
isAttrs p && p.recurseForDerivations or false;

Expand Down

0 comments on commit 3b1d1c1

Please sign in to comment.