clan-cli: remove --no-write-lock-file from nix invocations

This commit is contained in:
DavHau
2024-11-14 14:11:06 +07:00
parent c0bd20414e
commit a5ec3c45d5
2 changed files with 0 additions and 5 deletions

View File

@@ -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"):

View File

@@ -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",