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

View file

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