Message ID | 87czx06ubt.fsf@waegenei.re |
---|---|
Headers | show |
Hello Ludovic, Ludovic Courtès <ludo@gnu.org> writes: > Brice Waegeneire <brice@waegenei.re> skribis: > > > Fixes #38884. > > Nitpick: “Fixes <https://bugs.gnu.org/38884>.” > > > * guix/scripts/system.scm (switch-to-system-generation): Load the > > activate script for that generation. > > [...] > > > + (switch-to-generation* %system-profile number) > > + (primitive-load activate)) > > I suppose you need to wrap catch 'system-error here and to keep going > upon ENOENT. This patch set fixes both issues. Cheers, - Brice Brice Waegeneire (2): gnu: services: Add activate script to the profile system directory. scripts: system: Activate system when switching generations. gnu/services.scm | 10 +++++++++- guix/scripts/system.scm | 8 ++++++-- 2 files changed, 15 insertions(+), 3 deletions(-)
Hi Brice, Brice Waegeneire <brice@waegenei.re> skribis: > Brice Waegeneire (2): > gnu: services: Add activate script to the profile system directory. > scripts: system: Activate system when switching generations. LGTM, thanks! Ludo’.
Hello Ludo, Ludovic Courtès <ludo@gnu.org> writes: > Brice Waegeneire <brice@waegenei.re> skribis: > >> Brice Waegeneire (2): >> gnu: services: Add activate script to the profile system directory. >> scripts: system: Activate system when switching generations. > > LGTM, thanks! Pushed as df138dc20858725b90ed77be85f3318cbe1be73a and later. I'll close #38884 and will do the same or comment #36855 and #37596 about the new feature. Cheers, - Brice.