Skip to content

Print output when builds have succeeded #199

Closed as not planned
Closed as not planned

Description

@aristidb

When using parallel builds, it can become difficult to know which builds are currently running and which have already finished. I think that, when using -Q, doubling the amount of lines per build would still not be a big deal.

Consider when I'm looking at this output (nixos-rebuild switch -Q):

fetching path `/nix/store/q8k2ycw5mp7s6pn1j9lvralch1wydjmr-R-3.0.2'...
fetching path `/nix/store/lf3fck0y24m9v9p2wjaafiawn57fw7b2-git-1.8.5.2'...
fetching path `/nix/store/yk2j9gsrrhw4hs9vq9yx80hv4pfgy979-poppler-glib-0.24.5'...
fetching path `/nix/store/3zv3gl79fz3f1j78v7hrmd6061n22j3z-texlive-cm-super-2009'...
fetching path `/nix/store/8wmsg31r2m4sgsmbi9cvvm61da8m9prq-texlive-extra-2013'...
fetching path `/nix/store/kyns66ma5kbxrcs2cwyams9kcd8pixd2-xulrunner-26.0'...
building path(s) `/nix/store/pimqs39lsvngrmhdlplsxqzgnjraz1x7-linux-config-3.12.7'
building path(s) `/nix/store/kv05b42f4lykmw7qacxh8ka04lzrqrmh-linux-3.12.7', `/nix/store/nb3sx5z9wdl74ap0n098dksfng8yvjgl-linux-3.12.7-dev'
fetching path `/nix/store/h6svzjch3cqsh8yy4yj9rry7q1ybvvgk-evince-3.10.3'...
fetching path `/nix/store/f6x4d47nw0q1mrcb6cbi1qn0vx1nx12l-texlive-core-2013'...
fetching path `/nix/store/pvxwr30wjlj1hdmqkzmvn9x08gaa5c5f-gimp-2.8.10'...
fetching path `/nix/store/wkyhjh25i3rj2w7xnhjjrl6zzb185n03-cups-pdf-filter-1.5.4'...
fetching path `/nix/store/cq5pgylkppmcafkyf2apadi21xs1zfrd-firefox-26.0'...
building path(s) `/nix/store/jlaabva764r66cr55168l2cpraxq5j3h-gutenprint-5.2.9'
building path(s) `/nix/store/8s8ihwmnvw7rp1x2glcq772y1h6fdg55-firefox'
building path(s) `/nix/store/ql9wqb5ddlskx670bl64n53vqvxrb5jm-firefox-26.0-with-plugins'
building path(s) `/nix/store/936wqz6yzk28dpmq9in8q6q3ap2bra10-cups-progs'
building path(s) `/nix/store/7nz74aa1cvxbnkj70gyyqng5ywjll5r8-cupsd.conf'
building path(s) `/nix/store/63ffw6rn7rshl3jdrmslhvzza76x62xz-unit'
building path(s) `/nix/store/wd22v6x8s1mgnk72yd4i7gb4a9cp9rv6-firmware'
building path(s) `/nix/store/8ak40dsi5j2iks54qhf4b89msr1v7zv9-nvidia-x11-331.20-3.12.7'
building path(s) `/nix/store/rglcm9jmjnpy5w8k72qgr8lp95dp0bkf-virtualbox-4.2.18-3.12.7'
building path(s) `/nix/store/xzrmxmxz6rcm2n47x4m38habg90m13xi-modprobe.conf'
building path(s) `/nix/store/vaw1jpjl0s1l9xmpcd1brp9dfk7mz1b4-xserver.conf'
building path(s) `/nix/store/y0wdg73jv599mhis6n5k45i51hbjl10d-slim.cfg'
building path(s) `/nix/store/vwm61f07pcp0nz7sjhwn1rbahb2lch61-unit'

At this point in time I don't actually know which builds are finished. It might even still be building firefox, but probably not the linux kernel (because I see modprobe.conf having started). So my proposal would be something like this:

building path(s) `/nix/store/8s8ihwmnvw7rp1x2glcq772y1h6fdg55-firefox'
...
successfully built path(s) `/nix/store/8s8ihwmnvw7rp1x2glcq772y1h6fdg55-firefox'

A TUI interface would be even nicer of course, but I don't think my proposal would be such a bad thing either.

Activity

  1. vcunat commented on Jan 26, 2014

    @vcunat
    Member

    +1

  2. edolstra commented on Feb 26, 2014

    @edolstra
    Member

    See also #207.

  3. stale commented on Feb 15, 2021

    @stale

    I marked this as stale due to inactivity. → More info

  4. Ericson2314 commented on Feb 24, 2021

    @Ericson2314
    Member

    With CA derivations in particular, it might be nice to print

    successfully built drvPath!output as storePath
    

    or similar.

  5. stale commented on Aug 24, 2021

    @stale

    I marked this as stale due to inactivity. → More info

  6. added
    feature
    UX
    and removed on Sep 12, 2022
  7. added a commit that references this issue on Jan 1, 2024
  8. removed their assignment
    on Apr 26, 2024
  9. added a commit that references this issue on Sep 25, 2025
  10. tomberek commented on Aug 13, 2026

    @tomberek
    Contributor

    Closing as stale. Re-open if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    UXfeature

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions