clan-cli: fix nix_shell --inputs from
This commit is contained in:
@@ -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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user