diff --git a/modules/buildbot/buildbot_nix.py b/modules/buildbot/buildbot_nix.py index b96c406..9708503 100644 --- a/modules/buildbot/buildbot_nix.py +++ b/modules/buildbot/buildbot_nix.py @@ -118,7 +118,8 @@ class NixEvalCommand(buildstep.ShellMixin, steps.BuildStep): for line in self.observer.getStdout().split("\n"): if line != "": job = json.loads(line) - jobs.append(job) + if job["error"] is not None: + jobs.append(job) self.build.addStepsAfterCurrentStep( [BuildTrigger(scheduler="nix-build", name="nix-build", jobs=jobs)] )