| 27 Nov 2025 |
flokli | * That's what snix nar-bridge does. The challenge with c.n.o is that it uses `nar/$fileHash.nar[.$compression_suffix]`, instead of `nar/$narHash.nar[.$compression_suffix]`, so you can't easily find a NAR by it's nar hash without another lookup table somewhere. | 10:36:36 |
flokli | Yes | 10:36:39 |
flokli | It's a good way to ensure we don't get too bored and run out of challenges. | 10:37:37 |
flokli | A more sane way would be to have hydra push to some http daemon that does do all the rewriting, and uploads it to the right places. Or patch Nix to use $narHash. The URL in FileHash really doesn't matter. | 10:39:15 |
flokli | In nar-bridge, we emit a path that encodes the castore root node as the path to the NAR, giving a subtle cue to a more castore-aware substituter, who can then potentially skip downloading most of the file entirely: https://git.snix.dev/snix/snix/src/commit/9c023a073e1b7298d322c26331331ccf5249cf0f/web/content/docs/components/store/snix_flavoured_binary_cache_protocol.md | 10:42:05 |
flokli | (and use content-encoding to emit a zstd-compressed version, if someone wants the entire NAR) | 10:42:34 |
edef | It would bump S3 bandwidth a bit, we'd have to do the math | 10:56:02 |
hexa (signing key rotation when) | rebooting mimas/haumea for 25.11 update | 14:32:25 |
hexa (signing key rotation when) | looks like everything went fine and builds are ramping up again | 14:41:18 |
Mic92 | https://meet.cccda.de/nix-osin-fra vcunat Arian Jeremy Fleischman (jfly) | 17:01:44 |
vcunat | So just me and Mic92, basically nothing to discuss. | 17:27:34 |
| 28 Nov 2025 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | Hi, I was wondering if we could use a script to upload all the logs of Hydra's failing jobs to one location, or do we have such a service now? | 06:28:31 |
K900 | The location is cache.nixos.org | 06:33:20 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | In reply to @k900:0upti.me The location is cache.nixos.org But how do I only fetch failed logs? | 06:35:37 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | I guess I have to write a script myself | 06:35:45 |
K900 | You'd have to pull the drv paths from an eval | 06:35:49 |
K900 | It's not quite trivial | 06:35:57 |
K900 | What are you actually trying to do? | 06:36:03 |
aleksana 🏳️⚧️ (force me to bed after 18:00 UTC) | In reply to @k900:0upti.me What are you actually trying to do? See if it's possible to fix common build issues treewide | 06:36:50 |
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 |