Revert "remove nix_shell_legacy"

This reverts commit 8cde32c76f.
This commit is contained in:
Johannes Kirschbauer
2025-04-18 14:47:37 +02:00
parent 83542b20b4
commit 1232fb5af2
24 changed files with 119 additions and 91 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,10 +13,10 @@ def bubblewrap_works() -> bool:
def _bubblewrap_works() -> bool:
# fmt: off
cmd = nix_shell(
cmd = nix_shell_legacy(
[
"bash",
"bubblewrap",
"nixpkgs#bash",
"nixpkgs#bubblewrap",
],
[
"bwrap",