rename nix_shell_legacy to nix_shell and run_cmd to nix_shell

Than it's more obvious that we need to migrate.
This commit is contained in:
Jörg Thalheim
2025-04-16 19:57:13 +02:00
committed by Mic92
parent 4b9a0d8c19
commit 2240a3a533
24 changed files with 69 additions and 65 deletions

View File

@@ -1,5 +1,5 @@
from clan_cli.cmd import run
from clan_cli.nix import nix_shell
from clan_cli.nix import nix_shell_legacy
_works: bool | None = None
@@ -13,7 +13,7 @@ def bubblewrap_works() -> bool:
def _bubblewrap_works() -> bool:
# fmt: off
cmd = nix_shell(
cmd = nix_shell_legacy(
[
"nixpkgs#bash",
"nixpkgs#bubblewrap",