Merge pull request 'clan-cli: fix nix_shell --inputs-from' (#253) from DavHau-deps into main

This commit is contained in:
clan-bot
2023-09-06 14:16:03 +00:00

View File

@@ -1,7 +1,7 @@
import os import os
import tempfile import tempfile
from .dirs import nixpkgs, unfree_nixpkgs from .dirs import deps_flake, nixpkgs, unfree_nixpkgs
def nix_eval(flags: list[str]) -> list[str]: def nix_eval(flags: list[str]) -> list[str]:
@@ -43,7 +43,7 @@ def nix_shell(packages: list[str], cmd: list[str]) -> list[str]:
"--extra-experimental-features", "--extra-experimental-features",
"nix-command flakes", "nix-command flakes",
"--inputs-from", "--inputs-from",
f"{str(nixpkgs())}", f"{str(deps_flake())}",
] ]
+ wrapped_packages + wrapped_packages
+ ["-c"] + ["-c"]