From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 28 04:57:08 2022 Received: (at 53920) by debbugs.gnu.org; 28 Feb 2022 09:57:08 +0000 Received: from localhost ([127.0.0.1]:60158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOcmC-00086H-Df for submit@debbugs.gnu.org; Mon, 28 Feb 2022 04:57:08 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:60681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOcmA-00085k-DR for 53920@debbugs.gnu.org; Mon, 28 Feb 2022 04:57:07 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 2B531FF805; Mon, 28 Feb 2022 09:56:58 +0000 (UTC) From: Nicolas Goaziou To: Hartmut Goebel Subject: Re: [bug#53920] [PATCH v3] gnu: lesspipe: Update to 2.03. References: <639f99264ee673157112aec54d28c80842e4be52.1644511905.git.h.goebel@crazy-compilers.com> <1518f31f-947a-63a2-3f52-3bbe167196b3@crazy-compilers.com> Date: Mon, 28 Feb 2022 10:56:57 +0100 In-Reply-To: <1518f31f-947a-63a2-3f52-3bbe167196b3@crazy-compilers.com> (Hartmut Goebel's message of "Mon, 28 Feb 2022 09:25:08 +0100") Message-ID: <87ilszgvpy.fsf@nicolasgoaziou.fr> 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.7 (/) X-Debbugs-Envelope-To: 53920 Cc: 53920@debbugs.gnu.org, Maxime Devos 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.7 (-) Hello, Hartmut Goebel writes: > Am 27.02.22 um 23:22 schrieb Maxime Devos: >> To make package transformations work, can #$perl-archive-zip be avoided >> here? Maybe: >> >> (substitute* [...] >> ([...] >> (string-append [...] (assoc-ref inputs "perl-archive-zip") [...]))) > > FMPOV I can easily change this. > > Anyhow, I don't understand, why this is necessary for package > transformations. I thought g-exps are the way to do it? Actually, I think it should be the higher-level sexp: #$(this-package-input "perl-archive-zip") instead of (assoc-ref inputs ...) To answer your question, this is explained in , in "G-expressions and self-referential records". Another nitpick: end-of-line comments only need a single semicolon, not two. Regards, -- Nicolas Goaziou