fix: outside of direnv clan-li warns show-config deprecated #1619

Merged
kenji merged 3 commits from samrose/clan-core:sam/show-config into main 2024-06-14 08:10:30 +00:00
Showing only changes of commit 56a4caf39b - Show all commits

View File

@ -59,7 +59,7 @@ def nix_add_to_gcroots(nix_path: Path, dest: Path) -> None:
def nix_config() -> dict[str, Any]:
cmd = nix_command(["show-config", "--json"])
cmd = nix_command(["config show", "--json"])
proc = run(cmd)
data = json.loads(proc.stdout)
config = {}