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 844c45940f
commit 7c68030300

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