Compare commits

..

2 Commits

Author SHA1 Message Date
Johannes Kirschbauer
8584f3247a machine/install: fix type issues 2025-08-29 11:03:24 +02:00
Sacha Korban
d3534a2b72 fix: check if phases are non-default when running 2025-08-29 18:27:03 +10:00

View File

@@ -214,7 +214,7 @@ def run_machine_install(opts: InstallOptions, target_host: Remote) -> None:
cmd,
)
install_steps = {
default_install_steps: dict[str, Step] = {
"kexec": "nixos-anywhere",
"disko": "formatting",
"install": "installing",
@@ -222,7 +222,7 @@ def run_machine_install(opts: InstallOptions, target_host: Remote) -> None:
}
def run_phase(phase: str) -> None:
notification = install_steps.get(phase, "nixos-anywhere")
notification = default_install_steps.get(phase, "nixos-anywhere")
notify_install_step(notification)
run(
[*cmd, "--phases", phase],