maralorn / nix-output-monitor

Pipe your nix-build output through the nix-output-monitor a.k.a nom to get additional information while building.
GNU Affero General Public License v3.0
895 stars 27 forks source link

Can't see password prompt #133

Closed erahhal closed 3 months ago

erahhal commented 6 months ago

Using nom with nixos-rebuild, e.g.:

nixos-rebuild --log-format internal-json -v --use-remote-sudo switch --flake .#${HOSTNAME} -L |& nom --json

It eventually gets to a sudo prompt, but it can't be seen, because nix-output-monitor's tree is on top of it.

I believe this didn't used to be a problem, but I could be mistaken.

maralorn commented 6 months ago

Yeah, I think the best fix for that is integrating nom into nixos-rebuild.

Ah, I guess the problem here is --json which means that non-json get’s ignored. But maybe we can work around that.

Besides this is a duplicate of #68.

erahhal commented 6 months ago

Thanks, I'll follow that issue.