From 28a0f095149e99083de9575e4fc5979f21192feb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 17 Jun 2025 12:31:21 +0200 Subject: [PATCH] install: correctly pass nix options to nixos-anywhere The nix_options were collected but never passed to the nixos-anywhere command. This fix adds the options to the command before the target host argument. --- pkgs/clan-cli/clan_cli/machines/install.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/clan-cli/clan_cli/machines/install.py b/pkgs/clan-cli/clan_cli/machines/install.py index 319cfb893..ce1f92d83 100644 --- a/pkgs/clan-cli/clan_cli/machines/install.py +++ b/pkgs/clan-cli/clan_cli/machines/install.py @@ -134,6 +134,10 @@ def install_machine(opts: InstallOptions) -> None: if opts.debug: cmd.append("--debug") + + # Add nix options to nixos-anywhere + cmd.extend(opts.nix_options) + cmd.append(host.target) if opts.use_tor: # nix copy does not support tor socks proxy