From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:55065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIYS1-0002UA-7P for guix-patches@gnu.org; Tue, 15 May 2018 07:49:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fIYRy-0004el-5D for guix-patches@gnu.org; Tue, 15 May 2018 07:49:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55430) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fIYRy-0004eZ-1E for guix-patches@gnu.org; Tue, 15 May 2018 07:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fIYRx-0007ns-Om for guix-patches@gnu.org; Tue, 15 May 2018 07:49:01 -0400 Subject: [bug#31461] [PATCH] gnu: bear: Fix python path. Resent-Message-ID: Received: from eggs.gnu.org ([208.118.235.92]:54777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIYRG-0001vO-8L for guix-patches@gnu.org; Tue, 15 May 2018 07:48:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fIYRD-0004Lw-7q for guix-patches@gnu.org; Tue, 15 May 2018 07:48:18 -0400 Received: from mail-oln040092003093.outbound.protection.outlook.com ([40.92.3.93]:53666 helo=NAM02-BL2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fIYRD-0004Km-03 for guix-patches@gnu.org; Tue, 15 May 2018 07:48:15 -0400 From: Fis Trivial Date: Tue, 15 May 2018 11:48:12 +0000 Message-ID: Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31461@debbugs.gnu.org * 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 incremen= tal 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-shebang= s))))) (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 --=20 2.14.3