Host: migrate from nix_shell to run_cmd

This commit is contained in:
Jörg Thalheim
2025-04-16 19:16:50 +02:00
parent f94625fa6e
commit 00d25d7fb8
3 changed files with 6 additions and 4 deletions

View File

@@ -105,6 +105,7 @@ def nix_metadata(flake_url: str | Path) -> dict[str, Any]:
return data
# Deprecated: use run_cmd() instead
def nix_shell(packages: list[str], cmd: list[str]) -> list[str]:
# we cannot use nix-shell inside the nix sandbox
# in our tests we just make sure we have all the packages

View File

@@ -12,6 +12,7 @@
"pass",
"sops",
"sshpass",
"netcat",
"tor",
"virtiofsd",
"zbar",