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 = [
|
cmd = [
|
||||||
"nixos-rebuild",
|
"nixos-rebuild",
|
||||||
"switch",
|
"switch",
|
||||||
|
"--show-trace",
|
||||||
"--fast",
|
"--fast",
|
||||||
"--option",
|
"--option",
|
||||||
"keep-going",
|
"keep-going",
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ def nix_build(flags: list[str], gcroot: Path | None = None) -> list[str]:
|
|||||||
str(gcroot),
|
str(gcroot),
|
||||||
"--print-out-paths",
|
"--print-out-paths",
|
||||||
"--no-write-lock-file",
|
"--no-write-lock-file",
|
||||||
|
"--show-trace",
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
+ flags
|
+ flags
|
||||||
@@ -47,6 +48,7 @@ def nix_build(flags: list[str], gcroot: Path | None = None) -> list[str]:
|
|||||||
"--no-link",
|
"--no-link",
|
||||||
"--print-out-paths",
|
"--print-out-paths",
|
||||||
"--no-write-lock-file",
|
"--no-write-lock-file",
|
||||||
|
"--show-trace",
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
+ flags
|
+ flags
|
||||||
|
|||||||
Reference in New Issue
Block a user