showing build logs with nixos-rebuile

This commit is contained in:
Daylin Morgan 2024-05-22 11:46:32 -05:00
parent 4150669d29
commit 194f86fdc2
Signed by: daylin
GPG Key ID: 950D13E9719334AD
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ func (o *Oizys) NixosRebuild(subcmd string, rest ...string) {
} }
args = append(args, rest...) args = append(args, rest...)
if o.verbose { if o.verbose {
args = append(args, "--verbose") args = append(args, "--print-build-logs")
fmt.Println("CMD:", "sudo", strings.Join(args, " ")) fmt.Println("CMD:", "sudo", strings.Join(args, " "))
} }
cmd := exec.Command("sudo", args...) cmd := exec.Command("sudo", args...)