guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 1/2] guix ui: add the "depends" field to package->recutils


From: Ludovic Courtès
Subject: Re: [PATCH v2 1/2] guix ui: add the "depends" field to package->recutils:
Date: Mon, 21 Jul 2014 17:53:46 +0200
User-agent: Gnus/5.130009 (Ma Gnus v0.9) Emacs/24.3 (gnu/linux)

Cyril Roelandt <address@hidden> skribis:

> On 07/18/2014 01:26 AM, Ludovic Courtès wrote:
>>      (match (package-direct-inputs p)
>>        (((labels packages . _) ...)
>>         (string-join (sort packages package<?) ", ")))
>
>
> Not sure why I'd need '. _' here,

The pattern (labels packages . _) matches a list of two or more
elements.

There’s often exactly two elements, but there can be one more when
specifying an output name, as in ("glib-bin" ,glib "bin").

Ludo’.



reply via email to

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