From a5ec3c45d52eb60f916cd3a2406959493d4ada85 Mon Sep 17 00:00:00 2001 From: DavHau Date: Thu, 14 Nov 2024 14:11:06 +0700 Subject: [PATCH] clan-cli: remove --no-write-lock-file from nix invocations --- pkgs/clan-cli/clan_cli/nix/__init__.py | 4 ---- pkgs/scripts/select-shell.py | 1 - 2 files changed, 5 deletions(-) diff --git a/pkgs/clan-cli/clan_cli/nix/__init__.py b/pkgs/clan-cli/clan_cli/nix/__init__.py index abef3fb27..a7cef7f63 100644 --- a/pkgs/clan-cli/clan_cli/nix/__init__.py +++ b/pkgs/clan-cli/clan_cli/nix/__init__.py @@ -20,7 +20,6 @@ def nix_flake_show(flake_url: str | Path) -> list[str]: "show", "--json", "--show-trace", - "--no-write-lock-file", f"{flake_url}", ] ) @@ -35,7 +34,6 @@ def nix_build(flags: list[str], gcroot: Path | None = None) -> list[str]: "--out-link", str(gcroot), "--print-out-paths", - "--no-write-lock-file", "--show-trace", ] ) @@ -47,7 +45,6 @@ def nix_build(flags: list[str], gcroot: Path | None = None) -> list[str]: "build", "--no-link", "--print-out-paths", - "--no-write-lock-file", "--show-trace", ] ) @@ -76,7 +73,6 @@ def nix_eval(flags: list[str]) -> list[str]: "eval", "--show-trace", "--json", - "--no-write-lock-file", ] ) if os.environ.get("IN_NIX_SANDBOX"): diff --git a/pkgs/scripts/select-shell.py b/pkgs/scripts/select-shell.py index 33a8723d8..91314acd8 100644 --- a/pkgs/scripts/select-shell.py +++ b/pkgs/scripts/select-shell.py @@ -39,7 +39,6 @@ def list_devshells() -> list[str]: "nix", "eval", "--json", - "--no-write-lock-file", "--apply", "shells: builtins.mapAttrs (name: _shell: name) shells", f"{project_root}#devShells.x86_64-linux",