Skip to content

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

Open
@goyalyashpal

Description

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

  • that should be shown in a separate line for readability, as follows. or
    $ 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] 
    ----the suggestion 👇----
    building nvidia-settings-550.78 (buildPhase):       | ^~~~~~~
    

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

  • the clipped aka after the last colon may be removed
    $ 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)
                                                                                       suggestion here 👆 ~~~^
    

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

Priorities

Add 👍 to issues you find important.

Metadata

Assignees

Labels

featureFeature request or proposalgood first issueQuick win for first-time contributorsnew-cliRelating to the "nix" command

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions