guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: gnu: python-waf: Add some extra tools.


From: guix-commits
Subject: 02/03: gnu: python-waf: Add some extra tools.
Date: Sat, 28 Dec 2019 10:50:46 -0500 (EST)

mothacehe pushed a commit to branch master
in repository guix.

commit 633c8b719913121f269fc654cd52be4870b5337e
Author: Mathieu Othacehe <address@hidden>
Date:   Sat Dec 28 16:37:49 2019 +0100

    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(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c6b0645..37fc535 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")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]