Nix build: assert cmake in path

This commit is contained in:
Thomas Krijnen
2020-12-26 13:49:57 +01:00
committed by GitHub
parent 6699f2dccf
commit 315b32dd38
+1 -1
View File
@@ -257,7 +257,7 @@ print("Building:", *sorted(targets, key=lambda t: len(list(v(t)))))
# Check that required tools are in PATH
for cmd in [git, bunzip2, tar, cc, cplusplus, autoconf, automake, yacc, make, "patch"]:
for cmd in [git, bunzip2, tar, cc, cplusplus, autoconf, automake, yacc, make, "patch", "cmake"]:
if which(cmd) is None:
raise ValueError("Required tool '%s' not installed or not added to PATH" % (cmd,))