fix: outside of direnv clan-li warns this is going to be deprecated

This commit is contained in:
samrose
2024-06-13 12:44:48 -04:00
parent 83056f743d
commit 56a4caf39b

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 = {}