0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

Merge master into staging-next

This commit is contained in:
nixpkgs-ci[bot] 2025-05-22 00:16:45 +00:00 committed by GitHub
commit 0870c6fca2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
48 changed files with 1133 additions and 172 deletions

View file

@ -335,7 +335,7 @@ def install_bootloader(args: argparse.Namespace) -> None:
available_match = re.search(r"^\((.*)\)$", available_out)
if installed_match is None:
raise Exception("could not find any previously installed systemd-boot")
raise Exception("Could not find any previously installed systemd-boot. If you are switching to systemd-boot from a different bootloader, you need to run `nixos-rebuild switch --install-bootloader`")
if available_match is None:
raise Exception("could not determine systemd-boot version")