Finding most depended upon packages that fail to build in Hydra

It’s nice to be able to browse packages and see the delta for commits on Hydra https://hydra.nixos.org/jobset/nixpkgs/nixpkgs-20.09-darwin . It’s pretty clear that occasionally a package will get fixed which will cause dozens of other packages to build as well, for instance https://hydra.nixos.org/eval/1627894 (98 packages now build). Is it possible to see which failing packages are the most “depended upon”, so that fixing it would likely casade to other packages?

The report generated by https://github.com/samueldr/nix-review-tools might help you with that. Here’s the output I ran recently https://gist.github.com/ryantm/9872dd7e0f45486258cda1be0dc059e5

I hope to make that run continuously and be available at some webpage.

3 Likes

Thanks for that! Is it possible to get that data in another form (e.g. JSON)?