| 28 Nov 2025 |
K900 | I think Grimmauld was working on something like that | 06:38:09 |
vcunat | Getting list of .drv shouldn't be that hard. If this way didn't work out, I'd recommend trying to start from nixpkgs' maintainers/scripts/rebuild-amount.sh | 07:16:03 |
vcunat | (there are other places for sure which try to do something with all packages) | 07:16:46 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | Okay I'm writing it | 07:43:53 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | But how do I get the password of my hydra account if I've logged in with GitHub | 07:44:16 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | Seems like https://hydra.nixos.org/eval/1820524/builds doesn't respond unless I log in | 07:44:40 |
vcunat | Why do you need that? | 08:32:46 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | In reply to @vcunat:matrix.org Why do you need that? I want to query builds -> get drv paths of failed builds -> download log from cache.nixos.org | 08:47:10 |
vcunat | You can view the logs e.g. via nix-store -l /nix/store/foo.drv | 08:47:42 |
vcunat | Or construct the URL manually. It's trivial. | 08:47:58 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | Yeah, the last part is trivial, and I have implemented it | 08:48:14 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | Now the problem is hydra API doesn't respond so I can't get the list of failed derivations | 08:48:38 |
vcunat | Ah, failed derivations? 🤔 | 08:49:00 |
vcunat | Via non-presence of substitutes? | 08:49:44 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | In reply to @vcunat:matrix.org Via non-presence of substitutes? That requires evaluating Nixpkgs | 08:50:30 |
vcunat | If you have .drv, you have it anyway, I think. | 08:50:52 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | So I want to use /eval/{eval-id}/builds
https://editor.swagger.io/?url=https://raw.githubusercontent.com/NixOS/hydra/master/hydra-api.yaml | 08:51:57 |
vcunat | That seems way more difficult than checking presence of binary in the cache. | 08:54:18 |
vcunat | But it's your call. | 08:54:23 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | So how can I register a hydra account with password | 08:55:23 |
vcunat | https://github.com/nix-community/nix-review-tools can be an inspiration for crawling this. | 08:55:26 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | In reply to @vcunat:matrix.org https://github.com/nix-community/nix-review-tools can be an inspiration for crawling this. But we have hydra API | 08:57:07 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | https://hydra.nixos.org/eval/1820546#tabs-still-fail | 08:57:54 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | I guess I'm not going to click that expand button several times | 08:58:11 |
vcunat | I meant that you can crawl Hydra the same way as nix-review-tools. | 08:58:57 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | ...okay | 09:01:59 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | I hope I don't need to get around anubis | 09:02:32 |
vcunat | (perhaps others can suggest, too) | 09:02:34 |
vcunat | * (perhaps other people can suggest, too) | 09:02:38 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | So who's managing the hydra instance now? | 09:03:57 |