diff --git a/pkgs/clan-cli/clan_cli/machines/update.py b/pkgs/clan-cli/clan_cli/machines/update.py index 5f1096732..abba56b43 100644 --- a/pkgs/clan-cli/clan_cli/machines/update.py +++ b/pkgs/clan-cli/clan_cli/machines/update.py @@ -171,7 +171,7 @@ def deploy_machine(machine: Machine) -> None: if build_host: become_root = False - nix_options += ["--target-host", build_host.target] + nix_options += ["--target-host", target_host.target] if target_host.user != "root": nix_options += ["--use-remote-sudo"]