fix: outside of direnv clan-li warns show-config deprecated #1619
@ -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 = {}
|
||||
|
Loading…
Reference in New Issue
Block a user