What is the best way to find out if a particular PR has been built by Hydra and available in stable/unstable channels?
The only way I know of is to go to status.nixos.org, click on a test job of some channel, e.g., nixos/trunk-combined/tested, then go through changes of the latest builds and look for the commit hash of a PR.
I find this very inefficient and I am wondering if there’s a better way to see the build status of a PR.
Maybe it would be useful to have a GitHub bot, that would post a comment or attach a label when the Hydra job containing the PR has either failed or built successfully.
I don’t know if there is a quick way to check the status of a merged PR in hydra, but you can quickly check the status of a package with
$ hydra-check broot
Build Status for nixpkgs.broot.x86_64-linux on unstable
✔ broot-0.20.3 from 2020-08-28 - https://hydra.nixos.org/build/126110059
$ hydra-check python37Packages.tensorflow --short
Build Status for nixpkgs.python37Packages.tensorflow.x86_64-linux on unstable
✖ (Dependency failed) python3.7-tensorflow-1.15.2 from 2020-08-28 - https://hydra.nixos.org/build/126108991
It also has several options to e.g. pick a channel.
The original post about it is here: