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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: tracker <at> debbugs.gnu.org
Subject: bug#31461: closed ([PATCH] gnu: bear: Fix python path.)
Date: Thu, 31 May 2018 15:45:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 31 May 2018 17:44:03 +0200
with message-id <87wovjn83g.fsf <at> gnu.org>
and subject line Re: [bug#31461] [PATCH] gnu: bear: Fix python path.
has caused the debbugs.gnu.org bug report #31461,
regarding [PATCH] gnu: bear: Fix python path.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
31461: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31461
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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



[Message part 3 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: Fis Trivial <ybbs.daans <at> hotmail.com>
Cc: "31461 <at> debbugs.gnu.org" <31461-done <at> debbugs.gnu.org>
Subject: Re: [bug#31461] [PATCH] gnu: bear: Fix python path.
Date: Thu, 31 May 2018 17:44:03 +0200
Fis Trivial <ybbs.daans <at> hotmail.com> skribis:

> * gnu/packages/build-tools.scm (bear)
> [inputs]: Add python-wrapper.

Good catch!  Applied, thanks.

Ludo'.


This bug report was last modified 7 years and 26 days ago.

Previous Next


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