all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#31461] [PATCH] gnu: bear: Fix python path.
@ 2018-05-15 11:48 Fis Trivial
  2018-05-15 12:09 ` [bug#31461] Resend the patch Fis Trivial
  2018-05-15 12:10 ` [bug#31461] [PATCH] gnu: bear: Fix python path Fis Trivial
  0 siblings, 2 replies; 4+ messages in thread
From: Fis Trivial @ 2018-05-15 11:48 UTC (permalink / raw)
  To: 31461


* 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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-05-31 15:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-15 11:48 [bug#31461] [PATCH] gnu: bear: Fix python path Fis Trivial
2018-05-15 12:09 ` [bug#31461] Resend the patch Fis Trivial
2018-05-15 12:10 ` [bug#31461] [PATCH] gnu: bear: Fix python path Fis Trivial
2018-05-31 15:44   ` bug#31461: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.