From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:36309) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMwnL-000209-Gc for guix-patches@gnu.org; Tue, 22 Oct 2019 12:14:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMwnK-00043V-FC for guix-patches@gnu.org; Tue, 22 Oct 2019 12:14:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51541) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMwnK-00043R-CR for guix-patches@gnu.org; Tue, 22 Oct 2019 12:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iMwnK-0007Sm-3p for guix-patches@gnu.org; Tue, 22 Oct 2019 12:14:02 -0400 Subject: [bug#37869] [PATCH] pull: Honor '/etc/guix/channels.scm'. Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20191022160703.20897-1-ludo@gnu.org> Date: Tue, 22 Oct 2019 18:13:26 +0200 In-Reply-To: <20191022160703.20897-1-ludo@gnu.org> ("Ludovic \=\?utf-8\?Q\?Cou\?\= \=\?utf-8\?Q\?rt\=C3\=A8s\=22's\?\= message of "Tue, 22 Oct 2019 18:07:03 +0200") Message-ID: <875zkgzrkp.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37869@debbugs.gnu.org Hello, Ludovic Court=C3=A8s skribis: > +Specifically, @command{guix pull} downloads code from the @dfn{channels} > +(@pxref{Channels}) specified by one of the followings, in this order: > + > +@enumerate > +@item > +the @option{--channels} option; > +@item > +the user's @file{~/.config/guix/channels.scm} file; > +@item > +the system-wide @file{/etc/guix/channels.scm} file; > +@item > +the built-in default channels specified in the @code{%default-channels} > +variable. > +@end enumerate A word on the use case: on clusters at work and in other research institutes, having a system-wide default channel file allows newcomers to get started right away, without having to look for the =E2=80=98channels= .scm=E2=80=99 file that their colleagues happen to be using. Nothing revolutionary, but it can be convenient. :-) Ludo=E2=80=99.