# Nixpkgs failure dashboard

**URL:** https://discourse.nixos.org/t/nixpkgs-failure-dashboard/76790
**Category:** Announcements
**Created:** [April 3, 2026, 9:48am UTC](https://discourse.nixos.org/t/nixpkgs-failure-dashboard/76790 "2026-04-03T09:48:02Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Sigmanificient](https://discourse.nixos.org/user_avatar/discourse.nixos.org/sigmanificient/32/10706_2.png) [@Sigmanificient](https://discourse.nixos.org/u/Sigmanificient)
#### Post date: [April 3, 2026, 9:48am UTC](https://discourse.nixos.org/t/nixpkgs-failure-dashboard/76790/1 "2026-04-03T09:48:02Z")

</div>

Hi! :‌D

Finding and searching through logs on Hydra can be a bit of a friction point, so I built this to provide a simpler interface to the logs.

* * *

You may know that I’ve written a small tool to collect hydra failures into CSVs, [nixpkgs-failure-notify](https://github.com/Sigmanificient/nixpkgs-failure-notify). While this has been useful, I wanted to grab the actual build logs behind each failure, but I did not feel too good about scrapping hydra to download them periodically.

 ![image](https://discourse.nixos.org/uploads/default/original/3X/2/8/282aceac75a1189b0ab3161b1fdc5f427d04f204.png)

Instead I started building that list on my own server, as an little experiment. Turns out that having a folder with 1500 build-logs alone was not the great, so i made a very rudimentary attempt at sorting them:

 ![image](https://discourse.nixos.org/uploads/default/original/3X/e/0/e0d807b0941225f6628377fef6ee1927c92aa01e.png)

Fast forward a few month, I wanted to make a little project to clear my mind of all the stressful exam i just passed. I thought of that list i gather that was rotting on my computer, what if i pushed that little `sort-stuff.py` a bit more and made it public for anyone to take a look?

* * *

And here we are:

> **[Nixpkgs failure dashboard](https://nfd.1l.is)**

 ![image](https://discourse.nixos.org/uploads/default/original/3X/8/9/89b11eb5aa35f75f1d30322611da05cf83ff6e7f.png)

Now it does build a good chunk of nixpkgs (master), almost all packages tags that are exposed by `recursionMode = "hydra"`, and builds on `x86_64-linux`. Note that i use `substituters` and a timeout of ~30s per derivation to make it manageable to build within a bit more than a day. I’m not exactly sure on which frequency i will put the job on as i got some more experimentation to do with it, probably 2 days to once a week.

It hit `105952` attribute paths in the last iteration, out of which `22131` where not building on my system, and `3852` were timeouts. After the classification and the filtering out of irrelevant errors (e.g. incompatible system, file required, …), I got down to a `~1300` failures list that seems exploitable.

There is a lot of I low-hanging fruits!

I also refined the grouping of failures, and it works better than i expected! You might also noticed that some of them are tracking issues (`cmake minimum version` or `boost 1.89`). If you have an idea for a new group, feel free to test with the grep mode, and open an pr to add it.

> **[GitHub - Sigmanificient/nixpkgs-failure-dashboard: because zh.fail to hard to find stuff :o](https://github.com/Sigmanificient/nixpkgs-failure-dashboard)**
>
> because zh.fail to hard to find stuff :o

_This is not a big project per say, but it’s nice to revise a bit my front end skill and trying to use the branding guidelines :‌o_

---

<div class="post-metadata">

### Author: ![niklaskorz](https://discourse.nixos.org/user_avatar/discourse.nixos.org/niklaskorz/32/39496_2.png) [@niklaskorz](https://discourse.nixos.org/u/niklaskorz)
#### Post date: [April 3, 2026, 10:00am UTC](https://discourse.nixos.org/t/nixpkgs-failure-dashboard/76790/2 "2026-04-03T10:00:17Z")

</div>

The codebase is very focused and easy to grasp, both the Python and the React parts. I also love the simplicity of the UI that still looks appealing. The categorization seems very handy to help maintainers in picking out failing packages that fall in their area of expertise.

Thanks for sharing!

---

<div class="post-metadata">

### Author: ![Sigmanificient](https://discourse.nixos.org/user_avatar/discourse.nixos.org/sigmanificient/32/10706_2.png) [@Sigmanificient](https://discourse.nixos.org/u/Sigmanificient)
#### Post date: [April 3, 2026, 10:09am UTC](https://discourse.nixos.org/t/nixpkgs-failure-dashboard/76790/3 "2026-04-03T10:09:23Z")

</div>

Thanks! There is still a bit of work required to make it pretty on the react side, mostly splitting that `App.tsx` into multiple files 😛  
I want to also move the build script into a language i am more comfortable with, probably python 👀

---

<div class="post-metadata">

### Author: ![Sigmanificient](https://discourse.nixos.org/user_avatar/discourse.nixos.org/sigmanificient/32/10706_2.png) [@Sigmanificient](https://discourse.nixos.org/u/Sigmanificient)
#### Post date: [April 3, 2026, 10:31pm UTC](https://discourse.nixos.org/t/nixpkgs-failure-dashboard/76790/4 "2026-04-03T22:31:34Z")

</div>

nevermind it’s back online 😃

---

<div class="post-metadata">

### Author: ![vcunat](https://discourse.nixos.org/user_avatar/discourse.nixos.org/vcunat/32/11_2.png) [@vcunat](https://discourse.nixos.org/u/vcunat)
#### Post date: [April 4, 2026, 12:47pm UTC](https://discourse.nixos.org/t/nixpkgs-failure-dashboard/76790/5 "2026-04-04T12:47:47Z")

</div>

> [@Sigmanificient](#):
>
> I wanted to grab the actual build logs behind each failure, but I did not feel too good about scrapping hydra to download them periodically.

Why Hydra? You download through the Fastly CDN from S3, right? (once you know the .drv path) Example: [https://cache.nixos.org/log/vwz93ribgj2krkjwh601jkrgsbghg9fr-libsecret-0.21.7.drv](https://cache.nixos.org/log/vwz93ribgj2krkjwh601jkrgsbghg9fr-libsecret-0.21.7.drv)

I think that’s also what `nix-store -l` or `nix log` does (after an optional eval step to get the .drv path).

---

<div class="post-metadata">

### Author: ![Sigmanificient](https://discourse.nixos.org/user_avatar/discourse.nixos.org/sigmanificient/32/10706_2.png) [@Sigmanificient](https://discourse.nixos.org/u/Sigmanificient)
#### Post date: [April 4, 2026, 7:17pm UTC](https://discourse.nixos.org/t/nixpkgs-failure-dashboard/76790/6 "2026-04-04T19:17:57Z")

</div>

@vcunat OMG I DIDN’T THINK OF THAT :‌O

---

<div class="post-metadata">

### Author: ![crertel](https://discourse.nixos.org/letter_avatar_proxy/v4/letter/c/90ced4/32.png) [@crertel](https://discourse.nixos.org/u/crertel)
#### Post date: [April 4, 2026, 7:28pm UTC](https://discourse.nixos.org/t/nixpkgs-failure-dashboard/76790/7 "2026-04-04T19:28:56Z")

</div>

Good work @Sigmanificient ! I’m happy to see more tooling around this stuff popping up–I’ve got something on the way myself.

Any fun stories or annoying parts during its development?

---

<div class="post-metadata">

### Author: ![Sigmanificient](https://discourse.nixos.org/user_avatar/discourse.nixos.org/sigmanificient/32/10706_2.png) [@Sigmanificient](https://discourse.nixos.org/u/Sigmanificient)
#### Post date: [April 4, 2026, 8:15pm UTC](https://discourse.nixos.org/t/nixpkgs-failure-dashboard/76790/8 "2026-04-04T20:15:53Z")

</div>

Well i definitely encountered some logs i have never seen before, that’s for sure!

```auto
error: executing SQLite statement 'insert or replace into NARs(cache, hashPart, namePart, url, compression, fileHash, fileSize, narHash, narSize, refs, deriver, sigs, ca, timestamp, present) values (1, '85kh065hlyhwb1mw5garfvx9jf2pg2hq', 'samim-fonts-4.0.5', 'nar/1qsi6f986mnl944lk9mb88v46m2widq3hfkynks6ys9wkwgmqvfn.nar.xz', 'xz', 'sha256:1qsi6f986mnl944lk9mb88v46m2widq3hfkynks6ys9wkwgmqvfn', 103832, 'sha256:0mwa58g48fm9vsnx2sn9f3rimf1w0a9f1hg9g1sn32sajskcnviw', 829512, '', 'l4j99z90vvdrx2443dzhgwbz0i28jkv0-samim-fonts-4.0.5.drv', 'cache.nixos.org-1:COei06uuD0z156OZFdVwpzFFTnU8aII+YYvTI1+euay6SCDlLEITib3UiI/QBMDJ5Re4/780nOfae5xokLIjCQ==', '', 1774600455, 1)': database or disk is full, database or disk is full (in '/root/.cache/nix/binary-cache-v6.sqlite')

```

Then i tried to collect-garbage a bit too aggressively (by that i mean that i wasn’t really locking the other builds). I corrupted my server store and `nix-store --verify --check-contents --repair` was not able to fix it 😅

```auto
checking path existence...
path '/nix/store/w5p8k5b2kaipbad1hqa72y8bc7hmpij4-lua-arbitrary-1.0.1.2.drv' disappeared, but it still has valid referrers!
warning: cannot repair path '/nix/store/w5p8k5b2kaipbad1hqa72y8bc7hmpij4-lua-arbitrary-1.0.1.2.drv'

```

@lisanna helped me to get it back running thanksfully

---

<div class="post-metadata">

### Author: ![Sigmanificient](https://discourse.nixos.org/user_avatar/discourse.nixos.org/sigmanificient/32/10706_2.png) [@Sigmanificient](https://discourse.nixos.org/u/Sigmanificient)
#### Post date: [April 5, 2026, 12:57am UTC](https://discourse.nixos.org/t/nixpkgs-failure-dashboard/76790/9 "2026-04-05T00:57:14Z")

</div>

Just relased `1.0.0` (first tag)

> **[Release 1.0.0 · Sigmanificient/nixpkgs-failure-dashboard](https://github.com/Sigmanificient/nixpkgs-failure-dashboard/releases/tag/1.0.0)**
>
> What's Changed
> 
> Improve search placeholder by @thunze in #10
> Jump to Error Button by @tonybanters in #4
> Create LICENSE by @Sigmanificient in #11
> feat: add custom package by @Hythera in #14
> 
> New Con...

Thanks to [thunze](https://github.com/thunze), [tonybanters](https://github.com/tonybanters) & [Hythera](https://github.com/Hythera) (@hythera) for their prs :‌D

---

<div class="post-metadata">

### Author: ![greg-hellings](https://discourse.nixos.org/user_avatar/discourse.nixos.org/greg-hellings/32/27521_2.png) [@greg-hellings](https://discourse.nixos.org/u/greg-hellings)
#### Post date: [April 8, 2026, 1:51am UTC](https://discourse.nixos.org/t/nixpkgs-failure-dashboard/76790/10 "2026-04-08T01:51:02Z")

</div>

So, wait, this thing is building All The Things locally in order to get the build log failures?! How much compute power are you handing it in order to push through in one day?

---

<div class="post-metadata">

### Author: ![Sigmanificient](https://discourse.nixos.org/user_avatar/discourse.nixos.org/sigmanificient/32/10706_2.png) [@Sigmanificient](https://discourse.nixos.org/u/Sigmanificient)
#### Post date: [April 8, 2026, 4:29am UTC](https://discourse.nixos.org/t/nixpkgs-failure-dashboard/76790/11 "2026-04-08T04:29:53Z")

</div>

@greg-hellings My vps 8-Core Xeon E5-2680 😅

It really is not that bad, because it actually only build the path that are not substituted by the nixos cache, and on a future version it will not even have to download them. A good chunk of time is spent on nix-collect-garbage currently, since i pull ~2Tb…

I dispatch one build per core, and i have a very low timeout, since the goal of the tool (for me) was primarily to identify low-hanging fruit! I will probably bump it a bit when i’ll have the afford-mentioned optimization.

Sadly building everything from scratch is not even remotely feasible. My server does not surive the clang build. Here you can see it crash after almost 17h of compilation :‌D

(I dont remember why i was building electron on staging tbh…)

 ![image](https://discourse.nixos.org/uploads/default/original/3X/c/0/c019cd9b800a5c3a3d89d1349068d6d60e7e7a1b.jpeg)

---

<div class="post-metadata">

### Author: ![greg-hellings](https://discourse.nixos.org/user_avatar/discourse.nixos.org/greg-hellings/32/27521_2.png) [@greg-hellings](https://discourse.nixos.org/u/greg-hellings)
#### Post date: [April 8, 2026, 12:44pm UTC](https://discourse.nixos.org/t/nixpkgs-failure-dashboard/76790/12 "2026-04-08T12:44:23Z")

</div>

Ah, that makes more sense. I usually have my laptop plus three large-ish desktops as remote builders and it still takes a reasonably long time to build even a modest subset of things when I’m compiling a non-cached target like crossPkgs. I’m definitely going to check this out!
