New verbose flag

This commit is contained in:
Nox Sluijtman 2024-07-14 23:06:51 +02:00
parent 0a9c3e83b5
commit 7f0e165ae6
Signed by: Egg
SSH key fingerprint: SHA256:2sG9X3C7Xvq2svGumz1/k7cm8l4G9+qAtAeugqB4J9M

View file

@ -4,7 +4,7 @@ def main [
--machine(-m): string # Machine flake to build
--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
--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
] {
let buildOnMachine = if $build_on_machine {
@ -16,7 +16,7 @@ def main [
}
let printBuildLogs = if $print_build_logs {
$"-L"
$"--verbose"
}
let command = [