drop offline in nix shell

Otherwise we become gentoo!
This commit is contained in:
Jörg Thalheim
2024-05-27 13:40:03 +02:00
parent d7bfedd234
commit 0ea0872cd6

View File

@@ -106,7 +106,7 @@ def nix_shell(packages: list[str], cmd: list[str]) -> list[str]:
if os.environ.get("IN_NIX_SANDBOX"):
return cmd
return [
*nix_command(["shell", "--offline", "--inputs-from", f"{nixpkgs_flake()!s}"]),
*nix_command(["shell", "--inputs-from", f"{nixpkgs_flake()!s}"]),
*packages,
"-c",
*cmd,