mirror of
https://codeberg.org/guix/guix.git
synced 2026-09-04 21:01:43 +00:00
If the system crashes after `current-system.new' is created, but before it is renamed, then the system becomes unbootable, as `symlink' will throw an error during activation. This patch removes the .new symlink, if it exists, before trying to create it anew. * gnu/build/activation.scm (activate-current-system): Delete `.new' symlink if it exists, before trying to recreate it. Merges: https://codeberg.org/guix/guix/pulls/9501 Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>