Back out "cli: don't update macOS machines"

This backs out commit 83a2de0f47.
This commit is contained in:
Michael Hoang
2025-04-12 17:04:27 +02:00
parent fe0d39bf11
commit f336f6514c

View File

@@ -231,8 +231,6 @@ def update_command(args: argparse.Namespace) -> None:
if len(args.machines) == 0:
ignored_machines = []
for machine in get_all_machines(args.flake, args.option):
if machine._class_ == "darwin":
continue
if machine.deployment.get("requireExplicitUpdate", False):
continue
try:
@@ -260,11 +258,6 @@ def update_command(args: argparse.Namespace) -> None:
machine.override_build_host = args.build_host
machine.host_key_check = HostKeyCheck.from_str(args.host_key_check)
for machine in machines:
if machine._class_ == "darwin":
machine.error("Updating macOS machines is not yet supported")
sys.exit(1)
config = nix_config()
system = config["system"]
machine_names = [machine.name for machine in machines]