Subject: [bug#46560] [PATCH 0/2] Activate system when switching generations.

From: Ludovic Courtès <[email-masked]>
Date: Mon, 01 Mar 2021 16:56:44 +0100

Brice Waegeneire <[email-masked]> 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.

Could you send an updated patch?

Thanks!

Ludo’.