From 6089b2590741087ff58e5e628492979658736584 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Wed, 8 Jan 2025 12:58:45 -0500 Subject: [PATCH 1/2] chore: replace show-config with non-deprecated alternative --- nix_fast_build/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix_fast_build/__init__.py b/nix_fast_build/__init__.py index 5e09230..db312a0 100644 --- a/nix_fast_build/__init__.py +++ b/nix_fast_build/__init__.py @@ -127,7 +127,7 @@ async def get_nix_config( remote: str | None, remote_ssh_options: list[str] ) -> dict[str, str]: args = _maybe_remote( - nix_command(["show-config", "--json"]), remote, remote_ssh_options + nix_command(["config", "show", "--json"]), remote, remote_ssh_options ) try: proc = await asyncio.create_subprocess_exec( From 8dee97729ffaca37e6d51b9d69fb8b7e70e3f49f Mon Sep 17 00:00:00 2001 From: matt1432 Date: Wed, 8 Jan 2025 12:59:16 -0500 Subject: [PATCH 2/2] chore: add .direnv to gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 687322e..c9e96f3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ result result-* +.direnv # source: https://raw.githubusercontent.com/github/gitignore/main/Python.gitignore # Byte-compiled / optimized / DLL files