Reapply "remove nix_shell_legacy"

This reverts commit 1232fb5af2.
This commit is contained in:
Jörg Thalheim
2025-04-21 13:03:25 +02:00
parent 5eef4ba663
commit 80e739bd1b
24 changed files with 91 additions and 119 deletions

View File

@@ -13,7 +13,7 @@ from clan_cli.errors import ClanError
from clan_cli.facts.generate import generate_facts
from clan_cli.facts.secret_modules import SecretStoreBase
from clan_cli.machines.machines import Machine
from clan_cli.nix import nix_shell_legacy
from clan_cli.nix import nix_shell
from clan_cli.vars.generate import generate_vars
from .automount import pause_automounting
@@ -147,8 +147,8 @@ def flash_machine(
disko_install.extend(["--option", "dry-run", "true"])
disko_install.extend(extra_args)
cmd = nix_shell_legacy(
["nixpkgs#disko"],
cmd = nix_shell(
["disko"],
disko_install,
)
run(