fix: Fix build inclusion logic

The `or` statement is a *single* expression, leading to an incorrect
negation.

Change-Id: I46fa85c22cf145b9204bf26b85b963494b069d06
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5013
Reviewed-by: tazjin <tazjin@tvl.su>
Reviewed-by: sterni <sternenseemann@systemli.org>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2022-01-20 13:02:22 +03:00 committed by tazjin
parent effcd31651
commit a874f5df78

View file

@ -68,7 +68,7 @@ let
# Any build target that contains `meta.ci.skip = true` will be skipped. # Any build target that contains `meta.ci.skip = true` will be skipped.
# Is this tree node eligible for build inclusion? # Is this tree node eligible for build inclusion?
eligible = node: (node ? outPath) && (!node.meta.ci.skip or true); eligible = node: (node ? outPath) && !(node.meta.ci.skip or false);
in readTree.fix(self: (readDepot { in readTree.fix(self: (readDepot {
depot = self; depot = self;