New verbose flag
This commit is contained in:
parent
0a9c3e83b5
commit
7f0e165ae6
|
@ -4,7 +4,7 @@ def main [
|
||||||
--machine(-m): string # Machine flake to build
|
--machine(-m): string # Machine flake to build
|
||||||
--build-on-machine(-b) # Whether to build it on the given machine
|
--build-on-machine(-b) # Whether to build it on the given machine
|
||||||
--push-to-machine(-p) # Whether or not to push the result to the given machine
|
--push-to-machine(-p) # Whether or not to push the result to the given machine
|
||||||
--print-build-logs(-L) # Print full build logs on standard error.
|
--verbose(-V) # Print full build logs on standard error.
|
||||||
command # 'nixos-rebuild' command to execute
|
command # 'nixos-rebuild' command to execute
|
||||||
] {
|
] {
|
||||||
let buildOnMachine = if $build_on_machine {
|
let buildOnMachine = if $build_on_machine {
|
||||||
|
@ -16,7 +16,7 @@ def main [
|
||||||
}
|
}
|
||||||
|
|
||||||
let printBuildLogs = if $print_build_logs {
|
let printBuildLogs = if $print_build_logs {
|
||||||
$"-L"
|
$"--verbose"
|
||||||
}
|
}
|
||||||
|
|
||||||
let command = [
|
let command = [
|
||||||
|
|
Loading…
Reference in a new issue