GNU bug report logs - #31461
[PATCH] gnu: bear: Fix python path.

Previous Next

Package: guix-patches;

Reported by: Fis Trivial <ybbs.daans <at> hotmail.com>

Date: Tue, 15 May 2018 11:49:01 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Fis Trivial <ybbs.daans <at> hotmail.com>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [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





This bug report was last modified 6 years and 362 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.