# Nix build progress bar meaning

**URL:** https://discourse.nixos.org/t/nix-build-progress-bar-meaning/28590
**Category:** Help
**Created:** [May 31, 2023, 1:52pm UTC](https://discourse.nixos.org/t/nix-build-progress-bar-meaning/28590 "2023-05-31T13:52:38Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![G3zz](https://discourse.nixos.org/user_avatar/discourse.nixos.org/g3zz/32/5684_2.png) [@G3zz](https://discourse.nixos.org/u/G3zz)
#### Post date: [May 31, 2023, 1:52pm UTC](https://discourse.nixos.org/t/nix-build-progress-bar-meaning/28590/1 "2023-05-31T13:52:38Z")

</div>

Hi,  
I’ve been using nix with flakes for quite a while now, and it occurred to me that I actually don’t know what the numbers reported in the progress bar of nix build actually _mean_.

 ![Screenshot 2023-05-31 at 14.45.56](https://discourse.nixos.org/uploads/default/original/2X/9/99ebef6442c6ad99e6ca65859f6ea56e13abc9e7.png)

It’s not hard to deduce from 4/128/486 that there are 486 remaining to build, but it’s less clear what the 4 and 128 mean - why are there two numbers?

---

<div class="post-metadata">

### Author: ![FlafyDev](https://discourse.nixos.org/user_avatar/discourse.nixos.org/flafydev/32/6930_2.png) [@FlafyDev](https://discourse.nixos.org/u/FlafyDev)
#### Post date: [May 31, 2023, 2:16pm UTC](https://discourse.nixos.org/t/nix-build-progress-bar-meaning/28590/2 "2023-05-31T14:16:45Z")

</div>

I think 4 is how many are building rn ([can be configured with --max-jobs](https://nixos.org/manual/nix/stable/advanced-topics/cores-vs-jobs.html)). And the 128 is how many you built since running the command.

---

<div class="post-metadata">

### Author: ![G3zz](https://discourse.nixos.org/user_avatar/discourse.nixos.org/g3zz/32/5684_2.png) [@G3zz](https://discourse.nixos.org/u/G3zz)
#### Post date: [June 1, 2023, 11:20am UTC](https://discourse.nixos.org/t/nix-build-progress-bar-meaning/28590/3 "2023-06-01T11:20:06Z")

</div>

Thanks! A sort of related follow up question - is there a way of expanding this progress bar to print out more of the build logs as they are generated. It’s nice to see more information for long builds

---

<div class="post-metadata">

### Author: ![edolstra](https://discourse.nixos.org/user_avatar/discourse.nixos.org/edolstra/32/84_2.png) [@edolstra](https://discourse.nixos.org/u/edolstra)
#### Post date: [June 1, 2023, 11:27am UTC](https://discourse.nixos.org/t/nix-build-progress-bar-meaning/28590/4 "2023-06-01T11:27:49Z")

</div>

Yes, pass the `-L` / `--print-build-logs` flag.
