gnu: python-waf: Add some extra tools.
authorMathieu Othacehe <m.othacehe@gmail.com>
Sat, 28 Dec 2019 15:37:49 +0000 (16:37 +0100)
committerMathieu Othacehe <m.othacehe@gmail.com>
Sat, 28 Dec 2019 15:50:32 +0000 (16:50 +0100)
* gnu/packages/python-xyz.scm (python-waf): Add gccdeps and
clang_compilation_database tools that are needed by ardupilot.

gnu/packages/python-xyz.scm

index c6b0645..37fc535 100644 (file)
@@ -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")))