[Top][All Lists]

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

[bug#31461] [PATCH] gnu: bear: Fix python path.

From: Fis Trivial
Subject: [bug#31461] [PATCH] gnu: bear: Fix python path.
Date: Tue, 15 May 2018 11:48:12 +0000

* gnu/packages/build-tools.scm (bear)
[inputs]: Add python-wrapper.
[arguments]: Add patch-python-script phase, use needed modules.
 gnu/packages/build-tools.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index 4b078e78e..d518b3ae1 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -87,6 +87,16 @@ makes a few sacrifices to acquire fast full and incremental 
build times.")
     (build-system cmake-build-system)
+    (inputs
+     `(("python" ,python-wrapper)))
+    (arguments
+     `(#:modules ((guix build utils)
+                  (guix build cmake-build-system)
+                  ((guix build gnu-build-system) #:prefix gnu:))
+                 #:phases
+                 (modify-phases %standard-phases
+                   (add-before 'configure 'patch-python-script
+                     (assoc-ref gnu:%standard-phases 
     (home-page "";)
     (synopsis "Tool for generating a compilation database")
     (description "A JSON compilation database is used in the Clang project to

reply via email to

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