diff options
author | Tomas Volf <~@wolfsden.cz> | 2024-05-09 01:13:24 +0200 |
---|---|---|
committer | Guix Patches Tester <> | 2024-05-09 04:15:37 +0200 |
commit | 3ac8f43ea4fa914f2bb04dda3775afffc3e9642c (patch) | |
tree | a7d6b320c64e44570a33b9ffed5c79212864a60b | |
parent | 10586c64b749c2e3498bcf3bc750f2672790de2c (diff) | |
download | guix-patches-issue-70839.tar guix-patches-issue-70839.tar.gz |
services: guix: Default `channels' field to #f.issue-70839
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
-rw-r--r-- | doc/guix.texi | 2 | ||||
-rw-r--r-- | gnu/services/base.scm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index fe016fd2f2..1bec98d442 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -19570,7 +19570,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}). diff --git a/gnu/services/base.scm b/gnu/services/base.scm index 85160bd3ab..c5f28fd611 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -1830,7 +1830,7 @@ archive' public keys, with GUIX." (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 |