GNU bug report logs - #56297
Guix style imperfections

Previous Next

Package: guix;

Reported by: Maxime Devos <maximedevos <at> telenet.be>

Date: Wed, 29 Jun 2022 09:34:02 UTC

Severity: normal

Full log


Message #26 received at 56297 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 56297 <at> debbugs.gnu.org
Subject: Re: bug#56297: Guix style imperfections
Date: Mon, 04 Jul 2022 23:41:40 +0200
Hi,

Ludovic Courtès <ludo <at> gnu.org> skribis:

>>> (define-public guile-next
>>>  (let ((version "3.0.7") (revision "0")
>>>        (commit "d70c1dbebf9ac0fd45af4578c23983ec4a7da535"))
>>
>> Conventionally 'revision' is put on another line -- for these kind of let bindings,
>> (maybe all?), I would recommend to put all of them on separate lines.
>
> This one is a bug IMO: ‘let’ bindings should be treated specially, and
> currently they’re not.

Commit 8d9291bd2c36810be50ea340cefa481a42c60a2b fixes this, and…

>>>       (substitute-keyword-arguments (package-arguments guile-3.0)
>>>         ((#:phases phases
>>>           '%standard-phases) `(modify-phases ,phases
>>
>> Put %standard-phases on the same line ad #:phases phases and `(modify-phases ,phases
>> on a new lineg 

… the second part of this one.

Ludo’.




This bug report was last modified 2 years and 331 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.