From 96b0d7723169ce025d9c941836ed876d37647f46 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Sun, 29 Jun 2025 21:13:01 +0200 Subject: [PATCH] doc: Upgrading Guix: Constraint update command to guix-install.sh. At least on distributions based on Arch Linux and Debian, the given command to update the daemon doesn't work because the systemd service runs /usr/bin/guix-daemon instead of @localstatedir@/guix/profiles/per-user/root/current-guix/bin/guix-daemon. * doc/guix.texi (Upgrading Guix): Tell that the command works if Guix was installed with guix-install.sh. Change-Id: I2360a9dc9a5b23f28e25402b92724f51d9ed3937 Signed-off-by: Maxim Cournoyer --- doc/guix.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/guix.texi b/doc/guix.texi index bffaeb5bbc52a8350a66eb7b3983d38f8207f6b0..e4dc3b6f23829717d31ccdc8c826368cae5cb0b7 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -2108,7 +2108,8 @@ guix pull @cindex upgrading the Guix daemon, on a foreign distro @cindex @command{guix pull} for the root user, on a foreign distro -On a foreign distro, you can upgrade the build daemon by running: +If you installed Guix on a foreign distro with @file{guix-install.sh}, +you can upgrade the build daemon by running: @example sudo -i guix pull