NixOS / nix

Nix, the purely functional package manager
https://nixos.org/
GNU Lesser General Public License v2.1
12.73k stars 1.52k forks source link

space out the output of "building ..." in `nixos-rebuild` #11310

Open goyalyashpal opened 2 months ago

goyalyashpal commented 2 months ago

Is your feature request related to a problem? Please describe.

the output of the nixos-rebuild command shows the "building ..." info right alongside the stats this causes a huge portion of it to become clipped.

$ sudo nixos-rebuild --upgrade-all boot
unpacking channels...
building the system configuration...
[2/54/71 built, 103 copied (1197.1/1197.4 MiB), 720.1 MiB DL] building nvidia-settings-550.78 (buildPhase):       | ^~~~~~~

Describe the solution you'd like

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

Priorities

Add :+1: to issues you find important.

nixos-discourse commented 2 months ago

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/2024-08-28-nix-team-meeting-minutes-173/51302/1

nixos-discourse commented 2 months ago

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/2024-08-02-nix-team-meeting-minutes-174/51512/1

tomberek commented 1 week ago

No objections, but need to be careful making the progress bar multiline. This can cause other errors and UX degradation.