machines/update: fix incorrecct nixos-rebuild command

This commit is contained in:
Jörg Thalheim
2025-08-26 13:11:43 +02:00
parent 63697ac4b1
commit 6d2372be56

View File

@@ -244,7 +244,7 @@ def run_machine_update(
"Mobile machine detected, applying workaround deployment method",
)
ret = _build_host.run(
["nixos--rebuild", "test", *nix_options] if is_mobile else switch_cmd,
["nixos-rebuild", "test", *nix_options] if is_mobile else switch_cmd,
RunOpts(
log=Log.BOTH,
msg_color=MsgColor(stderr=AnsiColor.DEFAULT),