update-hardware-configuration: remove unused CLAN_FLAKE
This commit is contained in:
@@ -225,7 +225,7 @@
|
|||||||
"install",
|
"install",
|
||||||
"--phases", "disko,install",
|
"--phases", "disko,install",
|
||||||
"--debug",
|
"--debug",
|
||||||
"--flake", flake_dir,
|
"--flake", str(flake_dir),
|
||||||
"--yes", "test-install-machine-without-system",
|
"--yes", "test-install-machine-without-system",
|
||||||
"--target-host", f"nonrootuser@localhost:{ssh_conn.host_port}",
|
"--target-host", f"nonrootuser@localhost:{ssh_conn.host_port}",
|
||||||
"-i", ssh_conn.ssh_key,
|
"-i", ssh_conn.ssh_key,
|
||||||
@@ -289,9 +289,6 @@
|
|||||||
assert not os.path.exists(hw_config_file), "hardware-configuration.nix should not exist initially"
|
assert not os.path.exists(hw_config_file), "hardware-configuration.nix should not exist initially"
|
||||||
assert not os.path.exists(facter_file), "facter.json should not exist initially"
|
assert not os.path.exists(facter_file), "facter.json should not exist initially"
|
||||||
|
|
||||||
# Set CLAN_FLAKE for the commands
|
|
||||||
os.environ["CLAN_FLAKE"] = flake_dir
|
|
||||||
|
|
||||||
# Test facter backend
|
# Test facter backend
|
||||||
clan_cmd = [
|
clan_cmd = [
|
||||||
"${self.packages.${pkgs.system}.clan-cli-full}/bin/clan",
|
"${self.packages.${pkgs.system}.clan-cli-full}/bin/clan",
|
||||||
|
|||||||
Reference in New Issue
Block a user