summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorTomas Volf <~@wolfsden.cz>2024-05-09 01:13:24 +0200
committerLudovic Courtès <ludo@gnu.org>2024-06-26 23:36:24 +0200
commit76a2b9d70778918f4cfd0c07592d82fd176b3603 (patch)
tree52254b2e42c5f8b56330006b8a88353e1c1a567a /gnu
parent398393187cc48f449215b14cf18b13fefb228558 (diff)
downloadguix-76a2b9d70778918f4cfd0c07592d82fd176b3603.tar.gz
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/base.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index c7a14c7ed4..4b5b103cc3 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -1859,7 +1859,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