From a57080da7468258ca074a5a23905f35d1240a348 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Tue, 16 Sep 2025 15:56:16 +0500 Subject: [PATCH] build-all.py - ensure `yacc` is installed --- nix/build-all.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/build-all.py b/nix/build-all.py index d2e209325a..340f92f66e 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -310,8 +310,8 @@ targets = set(t for t in targets if "without-%s" % t.lower() not in flags) print("Building:", *sorted(targets, key=lambda t: len(list(gather_dependencies(t))))) # Check that required tools are in PATH - -for cmd in [git, bunzip2, tar, cc, cplusplus, autoconf, automake, make, "patch", "cmake"]: +yacc = "yacc" # Used during swig building process, installed with `bison`. +for cmd in [git, bunzip2, tar, cc, cplusplus, autoconf, automake, make, "patch", "cmake", yacc]: if which(cmd) is None: raise ValueError(f"Required tool '{cmd}' not installed or not added to PATH")