guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#53920] [PATCH v3] gnu: lesspipe: Update to 2.03.


From: Nicolas Goaziou
Subject: [bug#53920] [PATCH v3] gnu: lesspipe: Update to 2.03.
Date: Mon, 28 Feb 2022 10:56:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Hello,

Hartmut Goebel <h.goebel@crazy-compilers.com> 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
<https://guix.gnu.org/fr/blog/2021/the-big-change/>, in "G-expressions
and self-referential records".

Another nitpick: end-of-line comments only need a single semicolon, not
two.

Regards,
-- 
Nicolas Goaziou





reply via email to

[Prev in Thread] Current Thread [Next in Thread]