From 633c8b719913121f269fc654cd52be4870b5337e Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Sat, 28 Dec 2019 16:37:49 +0100 Subject: gnu: python-waf: Add some extra tools. * gnu/packages/python-xyz.scm (python-waf): Add gccdeps and clang_compilation_database tools that are needed by ardupilot. --- gnu/packages/python-xyz.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c6b0645376..37fc53536a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6346,7 +6346,12 @@ so it might be a tiny bit slower.") (modify-phases %standard-phases (replace 'build (lambda _ - (invoke "python" "waf-light" "configure" "build"))) + ;; XXX: Find a way to add all extra tools. + (let ((tools '("gccdeps" + "clang_compilation_database"))) + (invoke "python" "waf-light" "configure" "build" + (string-append "--tools=" + (string-join tools ",")))))) (replace 'check (lambda _ (invoke "python" "waf" "--version"))) -- cgit v1.2.3