mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
services: guix: Default `channels' field to #f.
In the absence of the /etc/guix/channels.scm file, %default-channels is used anyway. If user manually (or by extra-special-file) created the file, we should respect it. This commit therefore changes the default to #f, hopefully having zero impact on people not actively using the `channels' field. * gnu/services/base.scm (<guix-configuration>)[channels]: Set default to #f. Change-Id: I516c1735a037a153fabbebfc337051aaf0be2155 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
398393187c
commit
76a2b9d707
2 changed files with 2 additions and 2 deletions
|
@ -19679,7 +19679,7 @@ might want to turn it off for instance in a virtual machine that does
|
|||
not need it and where the extra boot time is a problem.
|
||||
|
||||
@anchor{guix-configuration-channels}
|
||||
@item @code{channels} (default: @code{%default-channels})
|
||||
@item @code{channels} (default: @code{#f})
|
||||
List of channels to be specified in @file{/etc/guix/channels.scm}, which
|
||||
is what @command{guix pull} uses by default (@pxref{Invoking guix
|
||||
pull}).
|
||||
|
|
|
@ -1859,7 +1859,7 @@ (define-record-type* <guix-configuration>
|
|||
(generate-substitute-key? guix-configuration-generate-substitute-key?
|
||||
(default #t)) ;Boolean
|
||||
(channels guix-configuration-channels ;file-like
|
||||
(default %default-channels))
|
||||
(default #f))
|
||||
(chroot-directories guix-configuration-chroot-directories ;list of file-like/strings
|
||||
(default '()))
|
||||
(max-silent-time guix-configuration-max-silent-time ;integer
|
||||
|
|
Loading…
Reference in a new issue