clan-cli: remove --no-write-lock-file from nix invocations
This commit is contained in:
@@ -20,7 +20,6 @@ def nix_flake_show(flake_url: str | Path) -> list[str]:
|
|||||||
"show",
|
"show",
|
||||||
"--json",
|
"--json",
|
||||||
"--show-trace",
|
"--show-trace",
|
||||||
"--no-write-lock-file",
|
|
||||||
f"{flake_url}",
|
f"{flake_url}",
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
@@ -35,7 +34,6 @@ def nix_build(flags: list[str], gcroot: Path | None = None) -> list[str]:
|
|||||||
"--out-link",
|
"--out-link",
|
||||||
str(gcroot),
|
str(gcroot),
|
||||||
"--print-out-paths",
|
"--print-out-paths",
|
||||||
"--no-write-lock-file",
|
|
||||||
"--show-trace",
|
"--show-trace",
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
@@ -47,7 +45,6 @@ def nix_build(flags: list[str], gcroot: Path | None = None) -> list[str]:
|
|||||||
"build",
|
"build",
|
||||||
"--no-link",
|
"--no-link",
|
||||||
"--print-out-paths",
|
"--print-out-paths",
|
||||||
"--no-write-lock-file",
|
|
||||||
"--show-trace",
|
"--show-trace",
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
@@ -76,7 +73,6 @@ def nix_eval(flags: list[str]) -> list[str]:
|
|||||||
"eval",
|
"eval",
|
||||||
"--show-trace",
|
"--show-trace",
|
||||||
"--json",
|
"--json",
|
||||||
"--no-write-lock-file",
|
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
if os.environ.get("IN_NIX_SANDBOX"):
|
if os.environ.get("IN_NIX_SANDBOX"):
|
||||||
|
|||||||
@@ -39,7 +39,6 @@ def list_devshells() -> list[str]:
|
|||||||
"nix",
|
"nix",
|
||||||
"eval",
|
"eval",
|
||||||
"--json",
|
"--json",
|
||||||
"--no-write-lock-file",
|
|
||||||
"--apply",
|
"--apply",
|
||||||
"shells: builtins.mapAttrs (name: _shell: name) shells",
|
"shells: builtins.mapAttrs (name: _shell: name) shells",
|
||||||
f"{project_root}#devShells.x86_64-linux",
|
f"{project_root}#devShells.x86_64-linux",
|
||||||
|
|||||||
Reference in New Issue
Block a user