From 4cbe0127a668cbcc64087c5d311308b59d39b104 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 5 Jul 2021 16:44:29 -0400 Subject: guix-install.sh: Prompt for configuring substitutes discovery. Also ensure prompt_yes_no always print the message with a trailing space, which is more pleasing to the eye. * etc/guix-daemon.conf.in <--discover=no>: New guix-daemon option. * etc/guix-daemon.service.in: Likewise. * etc/init.d/guix-daemon.in: Likewise. * etc/openrc/guix-daemon.in: Likewise. * etc/guix-install.sh (configure_substitute_discovery): New procedure. (sys_enable_guix_daemon): Ask the user whether automatic substitute discovery should be enabled. Set the '--discover' argument accordingly. (prompt_yes_no): Add a trailing space to the message. (sys_authorize_build_farms): Remove trailing space from the message argument. * NEWS (Distribution): Add news. --- NEWS | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index b0647b3700..2b6f65d088 100644 --- a/NEWS +++ b/NEWS @@ -14,8 +14,9 @@ Please send Guix bug reports to bug-guix@gnu.org. * Changes in 1.4.0 (since 1.3.0) ** Package management - * New 'deb' format for the 'guix pack' command - +*** New 'deb' format for the 'guix pack' command +** Distribution +*** The installation script can now enable local substitute servers discovery * Changes in 1.3.0 (since 1.2.0) ** Package management *** POWER9 (powerpc64le-linux) is now supported as a technology preview -- cgit 1.4.1