From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: Single channel update (or channels vs. GUIX_PACKAGE_PATH) Date: Tue, 12 Feb 2019 17:36:26 +0100 Message-ID: <87ftsthsl1.fsf@gnu.org> References: <87r2cn6t66.fsf@ambrevar.xyz> <15ACA13D-35AC-4896-90DD-6377250E4624@asu.edu> <8736p2rukt.fsf@ambrevar.xyz> <87lg2ugg1q.fsf@elephly.net> <87tvhiq80t.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:36274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtb3E-00063r-Cw for help-guix@gnu.org; Tue, 12 Feb 2019 11:36:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtb34-0002kD-H8 for help-guix@gnu.org; Tue, 12 Feb 2019 11:36:48 -0500 Received: from hera.aquilenet.fr ([2a0c:e300::1]:59030) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gtb2u-0002X7-Bl for help-guix@gnu.org; Tue, 12 Feb 2019 11:36:34 -0500 In-Reply-To: <87tvhiq80t.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Tue, 05 Feb 2019 21:45:22 +0100") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Pierre Neidhardt Cc: help-guix Pierre Neidhardt skribis: > Ricardo Wurmus writes: >> It=E2=80=99s just a list. You can cons onto it. > > What I meant is that it does not seem possible to > > (list (channel > (inherit %default-channels > (commit "...")))) > > Or even > > (set-channel-commit %default-channels "...") > > But maybe it's not worth it considering it's only 4 lines. =E2=80=98%default-channels=E2=80=99 is a list, not a record, so w= hat you suggest above cannot work. But you can do: (list (channel (inherit (first %default-channels)) =E2=80=A6)) That=E2=80=99s what the stable-channel trick I posted does. Ludo=E2=80=99.