Revert "remove nix_shell_legacy"

This reverts commit f3512b853a.
This commit is contained in:
Johannes Kirschbauer
2025-04-18 14:47:37 +02:00
parent 02720a503d
commit c5001f19fc
24 changed files with 119 additions and 91 deletions

View File

@@ -17,7 +17,7 @@ from clan_cli.completions import (
from clan_cli.errors import ClanError
from clan_cli.git import commit_files
from clan_cli.machines.inventory import get_all_machines, get_selected_machines
from clan_cli.nix import nix_config, nix_shell, nix_test_store
from clan_cli.nix import nix_config, nix_shell_legacy, nix_test_store
from clan_cli.vars._types import StoreBase
from .check import check_vars
@@ -84,10 +84,10 @@ def bubblewrap_cmd(generator: str, tmpdir: Path) -> list[str]:
test_store = nix_test_store()
# fmt: off
return nix_shell(
return nix_shell_legacy(
[
"bash",
"bubblewrap",
"nixpkgs#bash",
"nixpkgs#bubblewrap",
],
[
"bwrap",