From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH v2 1/2] guix ui: add the "depends" field to package->recutils: Date: Mon, 21 Jul 2014 17:53:46 +0200 Message-ID: <87egxe673p.fsf@gnu.org> References: <87r41mjozg.fsf@gnu.org> <1405558450-13602-1-git-send-email-tipecaml@gmail.com> <87mwc7bm96.fsf@gnu.org> <53CC559E.1040201@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9FuX-00019g-Vl for guix-devel@gnu.org; Mon, 21 Jul 2014 11:54:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9FuO-0001wh-VE for guix-devel@gnu.org; Mon, 21 Jul 2014 11:53:57 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:37012) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9FuO-0001w7-Nt for guix-devel@gnu.org; Mon, 21 Jul 2014 11:53:48 -0400 In-Reply-To: <53CC559E.1040201@gmail.com> (Cyril Roelandt's message of "Mon, 21 Jul 2014 01:49:50 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Cyril Roelandt Cc: guix-devel@gnu.org Cyril Roelandt skribis: > On 07/18/2014 01:26 AM, Ludovic Court=C3=A8s 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=E2=80=99s often exactly two elements, but there can be one more when specifying an output name, as in ("glib-bin" ,glib "bin"). Ludo=E2=80=99.