From cd23c9ff41b77b6d11bb1c4ae4cfaa4a0791e064 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 6 May 2025 09:26:59 +0200 Subject: [PATCH] fix incorrect target host when build host is set --- pkgs/clan-cli/clan_cli/machines/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]