[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.")
(base32
"1m0w0wqnz983l7fpp5p9pdsqr7n3ybrzp8ywjcvn0rihsrzj65j6"))))
(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
'patch-source-shebangs)))))
(home-page "https://github.com/rizsotto/Bear")
(synopsis "Tool for generating a compilation database")
(description "A JSON compilation database is used in the Clang project to
--
2.14.3
- [bug#31461] [PATCH] gnu: bear: Fix python path.,
Fis Trivial <=