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

@@ -6,7 +6,7 @@ import time
from collections.abc import Iterator
from clan_cli.errors import ClanError
from clan_cli.nix import nix_shell_legacy
from clan_cli.nix import nix_shell
VMADDR_CID_HYPERVISOR = 2
@@ -29,8 +29,8 @@ def start_waypipe(cid: int | None, title_prefix: str) -> Iterator[None]:
if cid is None:
yield
return
waypipe = nix_shell_legacy(
["nixpkgs#waypipe"],
waypipe = nix_shell(
["waypipe"],
[
"waypipe",
"--vsock",