From unknown Sat Jun 21 03:26:22 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#50162 <50162@debbugs.gnu.org> To: bug#50162 <50162@debbugs.gnu.org> Subject: Status: [PATCH] gnu: global: Add ctags support. Reply-To: bug#50162 <50162@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:26:22 +0000 retitle 50162 [PATCH] gnu: global: Add ctags support. reassign 50162 guix-patches submitter 50162 Efraim Flashner severity 50162 normal tag 50162 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 22 04:07:01 2021 Received: (at submit) by debbugs.gnu.org; 22 Aug 2021 08:07:01 +0000 Received: from localhost ([127.0.0.1]:38116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHiVR-000833-Bz for submit@debbugs.gnu.org; Sun, 22 Aug 2021 04:07:01 -0400 Received: from lists.gnu.org ([209.51.188.17]:34960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHiVP-00082v-S2 for submit@debbugs.gnu.org; Sun, 22 Aug 2021 04:07:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHiVP-0005uh-GL for guix-patches@gnu.org; Sun, 22 Aug 2021 04:06:59 -0400 Received: from flashner.co.il ([178.62.234.194]:59130) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mHiVN-0008FU-Si for guix-patches@gnu.org; Sun, 22 Aug 2021 04:06:59 -0400 Received: from localhost (unknown [141.226.169.107]) by flashner.co.il (Postfix) with ESMTPSA id 962B440214 for ; Sun, 22 Aug 2021 08:06:24 +0000 (UTC) Date: Sun, 22 Aug 2021 11:04:14 +0300 From: Efraim Flashner To: guix-patches@gnu.org Subject: [PATCH] gnu: global: Add ctags support. Message-ID: <086db0822919d2c43b93dccd3f88be8588685b2f.1629619162.git.efraim@flashner.co.il> Mail-Followup-To: guix-patches@gnu.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ddDpidxudNRtRIH9" Content-Disposition: inline X-TUID: Tk8iKK0Rel3F Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --ddDpidxudNRtRIH9 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * gnu/packages/code.scm (global)[inputs]: Add bash-minimal, universal-ctags, python-pygments. [arguments]: Add configure-flags to find ctags. Add phases to install plugins and to wrap python script with PYTHONPATH. --- I've been using this variant of global for a couple of weeks now to get global to work with Guix. --- gnu/packages/code.scm | 34 +++++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm index a414cde3de..04b354b71e 100644 --- a/gnu/packages/code.scm +++ b/gnu/packages/code.scm @@ -64,6 +64,7 @@ #:use-module (gnu packages perl-compression) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages python-xyz) #:use-module (gnu packages serialization) #:use-module (gnu packages sqlite) #:use-module (gnu packages texinfo) @@ -137,17 +138,26 @@ highlighting your own code that seemed comprehensible= when you wrote it.") (base32 "0g4aslm2zajq605py11s4rs1wdnzcqhkh7bc2xl5az42adzzg839")))) (build-system gnu-build-system) - (inputs `(("coreutils" ,coreutils) - ("ncurses" ,ncurses) - ("libltdl" ,libltdl) - ("sqlite" ,sqlite) - ("python-wrapper" ,python-wrapper))) + (inputs + `(("bash" ,bash-minimal) ; for wrap-program + ("coreutils" ,coreutils) + ("ctags" ,universal-ctags) + ("libltdl" ,libltdl) + ("ncurses" ,ncurses) + ("python-pygments" ,python-pygments) + ("python-wrapper" ,python-wrapper) + ("sqlite" ,sqlite))) (arguments `(#:configure-flags (list (string-append "--with-ncurses=3D" (assoc-ref %build-inputs "ncurses")) (string-append "--with-sqlite3=3D" (assoc-ref %build-inputs "sqlite")) + (string-append "--with-universal-ctags=3D" + (assoc-ref %build-inputs "ctags") "/bin/ctags") + (string-append "--sysconfdir=3D" + (assoc-ref %outputs "out") "/share/gtags") + "--localstatedir=3D/var" ; This needs to be a writabl= e location. "--disable-static") =20 #:phases @@ -158,6 +168,20 @@ highlighting your own code that seemed comprehensible = when you wrote it.") (assoc-ref inputs "coreutils") "/bin/echo"))) (substitute* "globash/globash.in" (("/bin/echo") echo))))) + (add-after 'post-install 'install-plugins + (lambda _ + (with-directory-excursion "plugin-factory" + (invoke "make" "install")))) + (add-before 'install 'dont-install-to-/var + (lambda _ + (substitute* "gozilla/Makefile" + (("DESTDIR\\)\\$\\{localstatedir\\}") "TMPDIR)")))) + (add-after 'install-plugins 'wrap-program + (lambda* (#:key inputs outputs #:allow-other-keys) + (wrap-program + (string-append (assoc-ref outputs "out") + "/share/gtags/script/pygments_parser.py") + `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))))) (add-after 'install 'post-install (lambda* (#:key outputs #:allow-other-keys) ;; Install the plugin files in the right place. base-commit: 9e3b68203cba2b1bd96e524d3ae9dfc3336a72f7 --=20 2.33.0 --ddDpidxudNRtRIH9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmEiBP0ACgkQQarn3Mo9 g1HkaQ//QPTwRb4ivad2Fid+0FUaTC+rKSfHlkWeM8Jh/37KPuGnHivu4vS30+PE 8v8u7pIrvpkR8xwzkPaWOCJgz1jMdHDkuUw+ezZ4RZj3gbzzatI1rmW4aBmbkk7D ZsFyQAUjiAtuFK3W1DER9yHR6F1YLduGOLN65/KAiY+dl5deHqn3NzgEHKuVI11D Fj68sl5KdIufW6ChIdeip70V0FCAnx90//aEpGbzglzgC79CLx3hkZEllOscoo46 W5PvqChCwUPKHn96IZYzy4RbNiyyH4KLhDZohxrUue5jKEbIlgCZatEiZXPn7iMO ZOaUDJuGmeSMvgL9dWkS9Ns38BKPY+DwEG1ACEIAp8eFtECXWrameNN64SniAHQc M/iFzUCm2BpjVpRQ43WFzJUY+foUWBPha/k6On1kT+kKL+Cvtl6LQp8ePOGr8N7Z c5GhLGPvFnbhVajbPCgZU0d9qxzSa+C23BxztrKRM58Uq+kaK5BpGZIoLsDT6R38 vkVnGandx+l95hmIe3g3Is3kYy06tSxKlvG4PxoGDIuc/jVVLJ2I6Ux8bI/QA7iv auRbHAJ9JeF6Y37bRgTbpr1qWg8wlk8eJ71QJ+UyLzb5gTzvrT9G1hV03bMkBS49 8viDiebVmcPhluHbmGe6bpFBXxSrQyD/rvx4No43mgPkUvhqwzA= =mNCl -----END PGP SIGNATURE----- --ddDpidxudNRtRIH9-- From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 30 15:57:49 2021 Received: (at 50162) by debbugs.gnu.org; 30 Aug 2021 19:57:49 +0000 Received: from localhost ([127.0.0.1]:60385 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKnPg-0001Ra-UK for submit@debbugs.gnu.org; Mon, 30 Aug 2021 15:57:49 -0400 Received: from mail-qk1-f180.google.com ([209.85.222.180]:38447) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKnPe-0001RL-Hr for 50162@debbugs.gnu.org; Mon, 30 Aug 2021 15:57:48 -0400 Received: by mail-qk1-f180.google.com with SMTP id f22so17030609qkm.5 for <50162@debbugs.gnu.org>; Mon, 30 Aug 2021 12:57:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=wmK0fWEX6FDwygoSfumFkAHvlCClz4bHIc9HXSZ+gx8=; b=DitGD3m8nF151yOqhsHGnEquyxINv/Ou50CWphsrSn4l53pFlfqCVFg9ZDn5CdlGev sv/WwuoHoyy0TqR2WSSO1BxTe6xkCKk6gA5UoLBkOm62KqTBV/PjhC1dC5SzOHdkBv9V OWuW2wTdnziPqtmWOXPST/X9AhVi4t1b/HVY1nzM/7Xdi1u2IsKgpPH/tugfvWR4G//W /kjswomD/8kFkRZjQk0bBK3HpLe4xeKfGUQhPNfD1ywfsK8jDkny+RukStI98g24G70G X09MnKl4zUu8abUoaqHTsVkYGmW781JkW4H9qv0lHmE80cAVEyvIBnAmfKQ7UGfFoDN+ 8Vvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=wmK0fWEX6FDwygoSfumFkAHvlCClz4bHIc9HXSZ+gx8=; b=IbbTfAXzdBCkVZJHIkoPZCIhxBLF+yGvjB6zIMSMKN39EY06LKE3teNUGHoEQ0dzOO rw1aMduvUZl/peopQGayEak6A/Ebv/sA9uqN/u5G83675CaCbS3VbhHdaVHkeLBCVmBM 7bXPoRhJOx95gPbL2eHej7k+1b5I2yxL6/9chR1OglMBIFrxJDDcP8Tf/kd4h/G4vsdW mMcs5wYUwRzoiC0lUUUsRcBMhgOLrOcPwAo/Zivcc7nm+3r1qjnVtHMhlVZ6vt1i0d2l dNpiOyv3C6//VUhDgDN7/FkC43+AAavf+NdtyqwYTPgqQf+5tL51u3kshlT9pXg5oH/C aFAA== X-Gm-Message-State: AOAM531y3n7mjj6FEfD2p/9Mc7VjKn6j/ncyN0v4Y7zsyFaeYx747cor ILMCjz7L2w+wlDNoCQ2oN0Y3b+JUo6esWg== X-Google-Smtp-Source: ABdhPJwwkCtCmydvcg/0Jop+okS2O6wlSgp9zXm8euyCKYfjHoMENaB4bDI2Pl+Ny5dUB/j+2IjELQ== X-Received: by 2002:a37:e315:: with SMTP id y21mr20949372qki.70.1630353460919; Mon, 30 Aug 2021 12:57:40 -0700 (PDT) Received: from hurd (dsl-10-141-212.b2b2c.ca. [72.10.141.212]) by smtp.gmail.com with ESMTPSA id a185sm11941937qkg.128.2021.08.30.12.57.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Aug 2021 12:57:40 -0700 (PDT) From: Maxim Cournoyer To: Efraim Flashner Subject: Re: bug#50162: [PATCH] gnu: global: Add ctags support. References: <086db0822919d2c43b93dccd3f88be8588685b2f.1629619162.git.efraim@flashner.co.il> Date: Mon, 30 Aug 2021 15:57:39 -0400 In-Reply-To: <086db0822919d2c43b93dccd3f88be8588685b2f.1629619162.git.efraim@flashner.co.il> (Efraim Flashner's message of "Sun, 22 Aug 2021 11:04:14 +0300") Message-ID: <87h7f6ln7w.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 50162 Cc: 50162@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello! Efraim Flashner writes: > * gnu/packages/code.scm (global)[inputs]: Add bash-minimal, > universal-ctags, python-pygments. > [arguments]: Add configure-flags to find ctags. Add phases to install > plugins and to wrap python script with PYTHONPATH. > --- > > I've been using this variant of global for a couple of weeks now to get > global to work with Guix. > > --- > > gnu/packages/code.scm | 34 +++++++++++++++++++++++++++++----- > 1 file changed, 29 insertions(+), 5 deletions(-) > > diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm > index a414cde3de..04b354b71e 100644 > --- a/gnu/packages/code.scm > +++ b/gnu/packages/code.scm > @@ -64,6 +64,7 @@ > #:use-module (gnu packages perl-compression) > #:use-module (gnu packages pkg-config) > #:use-module (gnu packages python) > + #:use-module (gnu packages python-xyz) > #:use-module (gnu packages serialization) > #:use-module (gnu packages sqlite) > #:use-module (gnu packages texinfo) > @@ -137,17 +138,26 @@ highlighting your own code that seemed comprehensible when you wrote it.") > (base32 > "0g4aslm2zajq605py11s4rs1wdnzcqhkh7bc2xl5az42adzzg839")))) > (build-system gnu-build-system) > - (inputs `(("coreutils" ,coreutils) > - ("ncurses" ,ncurses) > - ("libltdl" ,libltdl) > - ("sqlite" ,sqlite) > - ("python-wrapper" ,python-wrapper))) > + (inputs > + `(("bash" ,bash-minimal) ; for wrap-program This is news to me; must we now provide bash-minimal every time wrap-program is used? > + ("coreutils" ,coreutils) > + ("ctags" ,universal-ctags) > + ("libltdl" ,libltdl) > + ("ncurses" ,ncurses) > + ("python-pygments" ,python-pygments) > + ("python-wrapper" ,python-wrapper) > + ("sqlite" ,sqlite))) > (arguments > `(#:configure-flags > (list (string-append "--with-ncurses=" > (assoc-ref %build-inputs "ncurses")) > (string-append "--with-sqlite3=" > (assoc-ref %build-inputs "sqlite")) > + (string-append "--with-universal-ctags=" > + (assoc-ref %build-inputs "ctags") "/bin/ctags") > + (string-append "--sysconfdir=" > + (assoc-ref %outputs "out") "/share/gtags") > + "--localstatedir=/var" ; This needs to be a writable location. > "--disable-static") > > #:phases > @@ -158,6 +168,20 @@ highlighting your own code that seemed comprehensible when you wrote it.") > (assoc-ref inputs "coreutils") "/bin/echo"))) > (substitute* "globash/globash.in" > (("/bin/echo") echo))))) > + (add-after 'post-install 'install-plugins > + (lambda _ > + (with-directory-excursion "plugin-factory" > + (invoke "make" "install")))) > + (add-before 'install 'dont-install-to-/var > + (lambda _ > + (substitute* "gozilla/Makefile" > + (("DESTDIR\\)\\$\\{localstatedir\\}") "TMPDIR)")))) > + (add-after 'install-plugins 'wrap-program > + (lambda* (#:key inputs outputs #:allow-other-keys) > + (wrap-program > + (string-append (assoc-ref outputs "out") > + "/share/gtags/script/pygments_parser.py") > + `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))))) > (add-after 'install 'post-install > (lambda* (#:key outputs #:allow-other-keys) > ;; Install the plugin files in the right place. I have built it (but not tested it), but the rest this LGTM! Feel free to push. Thank you, Maxim From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 31 06:13:42 2021 Received: (at 50162-done) by debbugs.gnu.org; 31 Aug 2021 10:13:42 +0000 Received: from localhost ([127.0.0.1]:33105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mL0lx-00036E-KN for submit@debbugs.gnu.org; Tue, 31 Aug 2021 06:13:42 -0400 Received: from flashner.co.il ([178.62.234.194]:55918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mL0lu-00035z-35 for 50162-done@debbugs.gnu.org; Tue, 31 Aug 2021 06:13:40 -0400 Received: from localhost (unknown [141.226.169.107]) by flashner.co.il (Postfix) with ESMTPSA id 92674406CB; Tue, 31 Aug 2021 10:13:31 +0000 (UTC) Date: Tue, 31 Aug 2021 13:11:14 +0300 From: Efraim Flashner To: Maxim Cournoyer Subject: Re: bug#50162: [PATCH] gnu: global: Add ctags support. Message-ID: Mail-Followup-To: Efraim Flashner , Maxim Cournoyer , 50162-done@debbugs.gnu.org References: <086db0822919d2c43b93dccd3f88be8588685b2f.1629619162.git.efraim@flashner.co.il> <87h7f6ln7w.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="PvyDOQWNQAr9zFUn" Content-Disposition: inline In-Reply-To: <87h7f6ln7w.fsf@gmail.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50162-done Cc: 50162-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --PvyDOQWNQAr9zFUn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 30, 2021 at 03:57:39PM -0400, Maxim Cournoyer wrote: > Hello! >=20 > Efraim Flashner writes: >=20 > > * gnu/packages/code.scm (global)[inputs]: Add bash-minimal, > > universal-ctags, python-pygments. > > [arguments]: Add configure-flags to find ctags. Add phases to install > > plugins and to wrap python script with PYTHONPATH. > > --- > > > > I've been using this variant of global for a couple of weeks now to get > > global to work with Guix. > > > > --- > > > > gnu/packages/code.scm | 34 +++++++++++++++++++++++++++++----- > > 1 file changed, 29 insertions(+), 5 deletions(-) > > > > diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm > > index a414cde3de..04b354b71e 100644 > > --- a/gnu/packages/code.scm > > +++ b/gnu/packages/code.scm > > @@ -64,6 +64,7 @@ > > #:use-module (gnu packages perl-compression) > > #:use-module (gnu packages pkg-config) > > #:use-module (gnu packages python) > > + #:use-module (gnu packages python-xyz) > > #:use-module (gnu packages serialization) > > #:use-module (gnu packages sqlite) > > #:use-module (gnu packages texinfo) > > @@ -137,17 +138,26 @@ highlighting your own code that seemed comprehens= ible when you wrote it.") > > (base32 > > "0g4aslm2zajq605py11s4rs1wdnzcqhkh7bc2xl5az42adzzg839")= ))) > > (build-system gnu-build-system) > > - (inputs `(("coreutils" ,coreutils) > > - ("ncurses" ,ncurses) > > - ("libltdl" ,libltdl) > > - ("sqlite" ,sqlite) > > - ("python-wrapper" ,python-wrapper))) > > + (inputs > > + `(("bash" ,bash-minimal) ; for wrap-program >=20 > This is news to me; must we now provide bash-minimal every time > wrap-program is used? Its new, I think the aim was to make sure that even if a package is cross compiled it uses the correct bash when wrapping the program/script. > > + ("coreutils" ,coreutils) > > + ("ctags" ,universal-ctags) > > + ("libltdl" ,libltdl) > > + ("ncurses" ,ncurses) > > + ("python-pygments" ,python-pygments) > > + ("python-wrapper" ,python-wrapper) > > + ("sqlite" ,sqlite))) > > (arguments > > `(#:configure-flags > > (list (string-append "--with-ncurses=3D" > > (assoc-ref %build-inputs "ncurses")) > > (string-append "--with-sqlite3=3D" > > (assoc-ref %build-inputs "sqlite")) > > + (string-append "--with-universal-ctags=3D" > > + (assoc-ref %build-inputs "ctags") "/bin/ct= ags") > > + (string-append "--sysconfdir=3D" > > + (assoc-ref %outputs "out") "/share/gtags") > > + "--localstatedir=3D/var" ; This needs to be a wri= table location. > > "--disable-static") > > =20 > > #:phases > > @@ -158,6 +168,20 @@ highlighting your own code that seemed comprehensi= ble when you wrote it.") > > (assoc-ref inputs "coreutils") "/bin/echo")= )) > > (substitute* "globash/globash.in" > > (("/bin/echo") echo))))) > > + (add-after 'post-install 'install-plugins > > + (lambda _ > > + (with-directory-excursion "plugin-factory" > > + (invoke "make" "install")))) > > + (add-before 'install 'dont-install-to-/var > > + (lambda _ > > + (substitute* "gozilla/Makefile" > > + (("DESTDIR\\)\\$\\{localstatedir\\}") "TMPDIR)")))) > > + (add-after 'install-plugins 'wrap-program > > + (lambda* (#:key inputs outputs #:allow-other-keys) > > + (wrap-program > > + (string-append (assoc-ref outputs "out") > > + "/share/gtags/script/pygments_parser.py") > > + `("PYTHONPATH" ":" prefix (,(getenv "PYTHONPATH")))))) > > (add-after 'install 'post-install > > (lambda* (#:key outputs #:allow-other-keys) > > ;; Install the plugin files in the right place. >=20 > I have built it (but not tested it), but the rest this LGTM! Feel free > to push. >=20 > Thank you, >=20 > Maxim Thanks! Patch pushed. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --PvyDOQWNQAr9zFUn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmEuAEIACgkQQarn3Mo9 g1FWSg/+Od/mKTzfpgprMsH4/ufmgbk2ltwL63vqwRzSqlQ+zSnMP7jxIyKv/lKc taorE/c2765w8URW51zUAhlFl8wGJEdVdmv2BmCNYui9M+9h33hwMY94NehSMZ78 kutJmSLsDqDFyhk2nPthdB2POsEedKH+xpXlaUxfh6jsEXpQM0vUWW0M0zbKA76N R6BAa1uUPYBAt2NRIp+0pe8Ls6GJJvoRqsDHr1JkFOTPSiCkmkvWiA2tN6q+Zfl2 Nh4rHt3Nzv4PBfStf2RICDZ4MJ29ERW+rXo6rTYFOiI9WV1lI8CJNNutJ4gCsYDA TsQf4EI/jWI+4Sk8V634RBKHA5XJ9J303aEy3v5gBDD5irp2CHLu4wMVxB4NY5xy qBmP1ujMzHi2IUHueFzcHAui8EtndbTzNFDs6PN6y+Na2B9VWPu5Hl9McLZ0gXaT /S0A7XAE3GHWBBkByZ7t7mhWF+dgyHZ9G23ADNZYE1tvAshKf3l7nLo1P5V5SduG vSzS/MdPKtAj9XLNqDmLlORCpeB1qgEILNjntpEuXlMGofiGq8eb4aTXVr9vc0lu zbd0ts0V+UQ65t4iAYRm3IMn37jwOyfaEyexdbYxaJmFG40qtApp5Jvyg+G/I4Vh kU9FXLQH8wY3kKa9olAlb5HUPjeKzKktf5iOQvZv3jHniQ/XS0Y= =k+U8 -----END PGP SIGNATURE----- --PvyDOQWNQAr9zFUn-- From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 31 10:31:37 2021 Received: (at 50162-done) by debbugs.gnu.org; 31 Aug 2021 14:31:37 +0000 Received: from localhost ([127.0.0.1]:35152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mL4nZ-0008H3-Bv for submit@debbugs.gnu.org; Tue, 31 Aug 2021 10:31:37 -0400 Received: from mail-qv1-f41.google.com ([209.85.219.41]:45581) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mL4nV-0008Go-Go for 50162-done@debbugs.gnu.org; Tue, 31 Aug 2021 10:31:35 -0400 Received: by mail-qv1-f41.google.com with SMTP id l4so10410453qvl.12 for <50162-done@debbugs.gnu.org>; Tue, 31 Aug 2021 07:31:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=vnKeerZHgCSwThEh9Enp8BCr/F2QPezfMwO64IEkmYA=; b=JBEz1t5AOQunfWXYU0zzy0CEUbUqJANzWdJiYpTkGiGzAsPk4sjaOEEL6HZ8nQIwIG FBPBccDcm3ekqFyDfXm/Hcnd0pys5Kge1Sl2ncb2zQt2hAE7Ak6xQrfSHIYJyDMjEd6u QnViHp7K6bE5+83THE8kpQi35wucoBrsIozGim2lML8k1h+TC+mfg2qE+qt8SaFJ/Rz7 liP9j4fuYDMn2aRLIb0dIQWaZW/S5CvNuXL6v5eZVn/TiNlrDKOcvkfo7Nu0ECCAR9mU pp/rOXFrZLVthCluaByYX7B+3/OD6Crzgv8c7Qw5EgF7BHFELSiz8sbZyqhnPjFqaZQh J6Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=vnKeerZHgCSwThEh9Enp8BCr/F2QPezfMwO64IEkmYA=; b=HzYe/qZNefkQhLLJJO0ZL9AbDaDz/fhzKijwbXCQUQr9Rv7rfLPDmwfQVxPHrN26dY hnLO98jwlKYadYUvFSiFZmwVOXhTlo5cUiN72o9FinICH0sC/77OUXA3ykR38ZD6gfjt SAi8Kx8jFzArMxvNvncogeaSTcbXCy587t1Wb42UX/r6eGd0d5bll0KZd1ErQDcCjzGC 5dHM1B2Oi3d4w8HyEtAMwnibUpt+xoEYE5n3A2ixxI2tTXM0LiRCkza3IrchXjHYrJ8H pByP/Xnqrx5aXOV6kW8y+Lm5q02oUhLlw6eT4Sfx9oeG4ABqfWWZoywnv/xge9YV4w6i Jr7g== X-Gm-Message-State: AOAM530tFCAgiiZ1WG4k8JBdyKuv9FFvzvzOg9SKHLyqSJBZJNmQUjBI gy0MI1EfOror4daANsxQ7/dq2nXXFFJ5Kg== X-Google-Smtp-Source: ABdhPJxVqiT/os3o//revGlYN/kz3/v7fBHJFqVnjnp7DSAIZLOMYTIw2zYTdziXTe2oRRIw+1mqaQ== X-Received: by 2002:a05:6214:1843:: with SMTP id d3mr29580801qvy.10.1630420287721; Tue, 31 Aug 2021 07:31:27 -0700 (PDT) Received: from hurd (dsl-153-61.b2b2c.ca. [66.158.153.61]) by smtp.gmail.com with ESMTPSA id c7sm10855620qtv.9.2021.08.31.07.31.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Aug 2021 07:31:27 -0700 (PDT) From: Maxim Cournoyer To: Efraim Flashner Subject: Re: bug#50162: [PATCH] gnu: global: Add ctags support. References: <086db0822919d2c43b93dccd3f88be8588685b2f.1629619162.git.efraim@flashner.co.il> <87h7f6ln7w.fsf@gmail.com> Date: Tue, 31 Aug 2021 10:31:20 -0400 In-Reply-To: (Efraim Flashner's message of "Tue, 31 Aug 2021 13:11:14 +0300") Message-ID: <87r1e9it3b.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 50162-done Cc: 50162-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Efraim, Efraim Flashner writes: > On Mon, Aug 30, 2021 at 03:57:39PM -0400, Maxim Cournoyer wrote: >> Hello! >> >> Efraim Flashner writes: >> >> > * gnu/packages/code.scm (global)[inputs]: Add bash-minimal, >> > universal-ctags, python-pygments. >> > [arguments]: Add configure-flags to find ctags. Add phases to install >> > plugins and to wrap python script with PYTHONPATH. >> > --- >> > >> > I've been using this variant of global for a couple of weeks now to get >> > global to work with Guix. >> > >> > --- >> > >> > gnu/packages/code.scm | 34 +++++++++++++++++++++++++++++----- >> > 1 file changed, 29 insertions(+), 5 deletions(-) >> > >> > diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm >> > index a414cde3de..04b354b71e 100644 >> > --- a/gnu/packages/code.scm >> > +++ b/gnu/packages/code.scm >> > @@ -64,6 +64,7 @@ >> > #:use-module (gnu packages perl-compression) >> > #:use-module (gnu packages pkg-config) >> > #:use-module (gnu packages python) >> > + #:use-module (gnu packages python-xyz) >> > #:use-module (gnu packages serialization) >> > #:use-module (gnu packages sqlite) >> > #:use-module (gnu packages texinfo) >> > @@ -137,17 +138,26 @@ highlighting your own code that seemed comprehensible when you wrote it.") >> > (base32 >> > "0g4aslm2zajq605py11s4rs1wdnzcqhkh7bc2xl5az42adzzg839")))) >> > (build-system gnu-build-system) >> > - (inputs `(("coreutils" ,coreutils) >> > - ("ncurses" ,ncurses) >> > - ("libltdl" ,libltdl) >> > - ("sqlite" ,sqlite) >> > - ("python-wrapper" ,python-wrapper))) >> > + (inputs >> > + `(("bash" ,bash-minimal) ; for wrap-program >> >> This is news to me; must we now provide bash-minimal every time >> wrap-program is used? > > Its new, I think the aim was to make sure that even if a package is > cross compiled it uses the correct bash when wrapping the > program/script. I see. It's good that it's explicit, but on the other hand, it's a bit tedious or error prone to have to remember to do so everywhere. I'll give it some time! Thank you, Maxim From unknown Sat Jun 21 03:26:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 29 Sep 2021 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator