Files
brian cully b7d4adaf9d system: Delete current-system.new before attempting symlink.
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>
2026-06-25 11:07:57 +09:00
..