!RROtHmAaQIkiJzJZZE:nixos.org

NixOS Infrastructure

373 Members
Next Infra call: 2024-07-11, 18:00 CEST (UTC+2) | Infra operational issues backlog: https://github.com/orgs/NixOS/projects/52 | See #infra-alerts:nixos.org for real time alerts from Prometheus.114 Servers

Load older messages


SenderMessageTime
28 Nov 2025
@k900:0upti.meK900I think Grimmauld was working on something like that06:38:09
@vcunat:matrix.orgvcunat 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:matrix.orgvcunat(there are other places for sure which try to do something with all packages)07:16:46
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)Okay I'm writing it07:43:53
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (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 GitHub07:44:16
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (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:matrix.orgvcunatWhy do you need that?08:32:46
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (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:matrix.orgvcunat You can view the logs e.g. via nix-store -l /nix/store/foo.drv 08:47:42
@vcunat:matrix.orgvcunatOr construct the URL manually. It's trivial.08:47:58
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)Yeah, the last part is trivial, and I have implemented it08:48:14
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (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 derivations08:48:38
@vcunat:matrix.orgvcunatAh, failed derivations? 🤔08:49:00
@vcunat:matrix.orgvcunatVia non-presence of substitutes?08:49:44
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (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:matrix.orgvcunatIf you have .drv, you have it anyway, I think.08:50:52
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (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:matrix.orgvcunatThat seems way more difficult than checking presence of binary in the cache.08:54:18
@vcunat:matrix.orgvcunatBut it's your call.08:54:23
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)So how can I register a hydra account with password08:55:23
@vcunat:matrix.orgvcunathttps://github.com/nix-community/nix-review-tools can be an inspiration for crawling this.08:55:26
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (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:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC) https://hydra.nixos.org/eval/1820546#tabs-still-fail 08:57:54
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)I guess I'm not going to click that expand button several times08:58:11
@vcunat:matrix.orgvcunatI meant that you can crawl Hydra the same way as nix-review-tools.08:58:57
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)...okay09:01:59
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)I hope I don't need to get around anubis09:02:32
@vcunat:matrix.orgvcunat(perhaps others can suggest, too)09:02:34
@vcunat:matrix.orgvcunat* (perhaps other people can suggest, too)09:02:38
@aleksana:mozilla.orgaleksana 🏳️‍⚧️ (force me to bed after 18:00 UTC)So who's managing the hydra instance now?09:03:57

Show newer messages


Back to Room ListRoom Version: 6