From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mOdRBnI9LmHSHAEAgWs5BA (envelope-from ) for ; Tue, 31 Aug 2021 16:32:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id qHXHAXI9LmEfPwAA1q6Kng (envelope-from ) for ; Tue, 31 Aug 2021 14:32:18 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B466916229 for ; Tue, 31 Aug 2021 16:32:17 +0200 (CEST) Received: from localhost ([::1]:34746 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mL4oC-0002nA-Ke for larch@yhetil.org; Tue, 31 Aug 2021 10:32:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mL4ny-0002mQ-PH for guix-patches@gnu.org; Tue, 31 Aug 2021 10:32:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51839) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mL4ny-0008LM-H1 for guix-patches@gnu.org; Tue, 31 Aug 2021 10:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mL4ny-0008Hj-7j for guix-patches@gnu.org; Tue, 31 Aug 2021 10:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50162] [PATCH] gnu: global: Add ctags support. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 31 Aug 2021 14:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50162 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Efraim Flashner Cc: 50162-done@debbugs.gnu.org Received: via spool by 50162-done@debbugs.gnu.org id=D50162.163042029731814 (code D ref 50162); Tue, 31 Aug 2021 14:32:02 +0000 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630420337; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=vnKeerZHgCSwThEh9Enp8BCr/F2QPezfMwO64IEkmYA=; b=AtgkLs5ZJAQGUXEPA9YCx0EsVf2tPAv0rkhQcdR5Inls5xC0P+yj/vP+5cxx7m9PElu1HK Ju+veBGJF0S6qqhGKl0Jrk0u+3oOHE8rwhEDRSjVf39C0QkRRDsspSHOSzUbN5b+chCQqD tn0Vj9v/k1tvCO+K8XyMd6Cwt5RSs6TlTpaj79plPmnTVA0wT1nGuEMxDqbCPEc7TumSsL R7P7UC2Cf2gfFReqG1ZFbxy1+xl0bm1F1Q2LaQVY+StjGqpzykEZuWWU5EyY67AGgU1I2w q4/GyS1c0qPtfcNevJWmYTTrs3JB0lnJ0ArbabJB73IqbkrN5538w+kzUxd4wA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630420337; a=rsa-sha256; cv=none; b=IaV7MoYWypqqMoFFUsRHTQhKJDIuu7Q2jK26r7vXOEgB1kr/+QgV8E1zttkqs8Ql+vjdaO kMSNjpYC1mhIEfJ6fJLhZ31MBBYk1q4uzlW+Z7TsuJgLg8gO1AROP+c8iXS9EpF4x3LYPJ dGIG1ryAD8yNXXZN/muzRMkqOw8j+p3wjuyBG2GdeMKgbUXAVGMkltrk3jOiVsJoh6IOMJ drKzSjpkNDynZc3pj9oTPhrC+M7WLZbbdj7GtHOo4yPCSXxw0Wq+wVN00Qr9pL8WV8GBNu kcMBPwtcbbluHuaj0XU6uxZBHXKaIZXNF2l7QY4vDlq+t3QC74EY8rK5DfAI9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=JBEz1t5A; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 0.18 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=JBEz1t5A; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: B466916229 X-Spam-Score: 0.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4reI8DZLqv9X 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