Hello Ludovic! Ludovic Courtès <[email protected]> writes:
> Hi Maxim! > > Maxim Cournoyer <[email protected]> skribis: > >> From a289eb3fd6239287d4a802fbba69abf21604591f Mon Sep 17 00:00:00 2001 >> From: Maxim Cournoyer <[email protected]> >> Date: Sat, 28 Sep 2019 00:11:28 +0900 >> Subject: [PATCH] doc: Add a 'Upgrading Guix' section to the 'Installation' >> chapter. >> MIME-Version: 1.0 >> Content-Type: text/plain; charset=UTF-8 >> Content-Transfer-Encoding: 8bit >> >> This follows a discussion regarding issue #36785 (see: >> https://bugs.gnu.org/36785). >> >> * doc/guix.texi (Upgrading Guix): New section. >> >> Co-authored-by: Ludovic Courtès <[email protected]> > > [...] > >> +@node Upgrading Guix >> +@section Upgrading Guix >> + >> +@cindex Upgrading Guix, on a foreign distro > > Nitpicking: index entries are usually lower-case. Oh! I hadn't realized this was the convention used in Guix, thanks for pointing it out. >> +To upgrade Guix, run: >> + >> +@example >> +guix pull >> +@end example > > Perhaps add: > > @xref{Invoking guix pull}, for more information. > >> +When you need to upgrade the build daemon, for instance, which runs as >> +root, run: >> + >> +@example >> +sudo -i guix pull >> +@end example > > What about restating upfront that we’re talking about foreign distros > specifically: > > On a foreign distro, you can upgrade the build daemon by running: > > @example > sudo -i guix pull > @end example > > @noindent > followed by (assuming your distro uses the systemd service management > tool): > > @example > systemctl restart guix-daemon.service > @end example > > On Guix System, upgrading the daemon is achieved by reconfiguring the > system (@pxref{Invoking guix system, @code{guix system reconfigure}}). > > ? Great additions. > Feel free to push something along these lines. Pushed as 5510bb01e9. Thank you! Maxim
