clan-cli: Add --show-trace to nix build and nixos-rebuild commands
This commit is contained in:
@@ -109,6 +109,7 @@ def deploy_machine(machines: MachineGroup) -> None:
|
||||
cmd = [
|
||||
"nixos-rebuild",
|
||||
"switch",
|
||||
"--show-trace",
|
||||
"--fast",
|
||||
"--option",
|
||||
"keep-going",
|
||||
|
||||
@@ -35,6 +35,7 @@ def nix_build(flags: list[str], gcroot: Path | None = None) -> list[str]:
|
||||
str(gcroot),
|
||||
"--print-out-paths",
|
||||
"--no-write-lock-file",
|
||||
"--show-trace",
|
||||
]
|
||||
)
|
||||
+ flags
|
||||
@@ -47,6 +48,7 @@ def nix_build(flags: list[str], gcroot: Path | None = None) -> list[str]:
|
||||
"--no-link",
|
||||
"--print-out-paths",
|
||||
"--no-write-lock-file",
|
||||
"--show-trace",
|
||||
]
|
||||
)
|
||||
+ flags
|
||||
|
||||
Reference in New Issue
Block a user