Hydra | 385 Members | |
| 109 Servers |
| Sender | Message | Time |
|---|---|---|
| 10 Jul 2023 | ||
In reply to @hacker1024:matrix.orgI guess debug things | 08:16:21 | |
| Btw if you try hard enough, you don't even need nixpkgs in your declarative spec: https://git.helsinki.tools/helsinki-systems/hydra-nixos/-/blob/master/default.nix#L44 | 08:18:02 | |
| * Btw if you try hard enough, you don't even need nixpkgs in your declarative spec: https://git.helsinki.tools/helsinki-systems/hydra-nixos/-/blob/master/default.nix#L44 - makes it nicer imo because you don't have to fetch/update nixpkgs every time | 08:18:34 | |
| Thanks, that's pretty cool. Another question: Does Hydra have a way to limit all access to logged in users, or do I need to set up a reverse proxy with authentication? In particular I do not want anyone to be able to view output hashes or access our binary cache. | 23:17:17 | |
| * Thanks, that's pretty cool. Another question: Does Hydra have a way to limit all access to logged in users, or do I need to set up a reverse proxy with authentication? In particular I do not want anyone to be able to view build logs or output hashes or access our binary cache. | 23:17:38 | |
| * Thanks, that's pretty cool. Another question: Does Hydra have a way to limit all access to logged in users, or do I need to set up a reverse proxy with authentication? In particular I do not want anyone to be able to view build logs or output hashes, or access our binary cache. | 23:17:44 | |
| 11 Jul 2023 | ||
| How can I stop Hydra from serving my whole system Nix store as a binary cache? I have the following line in my config, but it seems to have no effect at all.
| 13:25:53 | |
| I think the answer to both those questions is using a reverse proxy in front of it | 13:44:32 | |
| I've got Caddy set up doing basic auth, but I don't see how I could use that to only serve the specific derivations I'm building in Hydra (excluding other things I have installed in my system)? | 13:45:47 | |
| ah, I assumed you'd just want to block access to the binary-cache altogether | 13:47:24 | |
| Actually, upon futher inspection, I think I can see why my
I don't understand why this is happening, though - | 13:48:16 | |
Ah. hydra-queue-runner runs as the hydra-queue-runner user. | 13:49:37 | |
* Ah. hydra-queue-runner runs as the hydra-queue-runner user, and the directory only has group read permissions. | 13:52:55 | |
| Hmm. Now the store path is working for building, but my main store still seems to be getting served as a binary cache. | 14:06:57 | |
| is it possible to override an input inside hydra? or is that not a thing | 19:10:23 | |
| 12 Jul 2023 | ||
| What do you mean by override? Inputs are just paths. | 08:21:33 | |
In reply to @magic_rb:matrix.redalder.orgif you mean flake inputs, currently no. I want it and intend to implement it at some point though. | 08:22:20 | |
| I implemented this as part of the work on it: https://github.com/NixOS/nix/pull/8042 | 08:22:46 | |
| * ElvishJerricco and I implemented this as part of the work on it: https://github.com/NixOS/nix/pull/8042 | 08:23:09 | |
| yeah, i need to override a certain input which points at a folder which isnt present on the hydra machine | 08:23:21 | |
| its how i do semi secret things like ips, dhcp ranges and wireguard configuration | 08:23:48 | |
| I am trying to build x86_64 packages on aarch64 using QEMU + binfmt_misc, but evaluation keeps failing.
Has anyone seen this before? | 11:50:58 | |
| It's probably QEMU being QEMU | 11:54:31 | |
| It's far from perfect | 11:54:35 | |
| Especially when it comes to obscure x86 stuff | 11:54:40 | |
| To be honest, I'm not even sure that it's getting to the stage where it needs QEMU | 11:54:56 | |
| I don't know how to work out what process is crashing as the PID is only logged when it dies | 11:55:18 | |
| QEMU seems to be running normally outside of Hydra, I can launch x86_64 binaries without any issues | 11:56:07 | |
| strace the hydra process and filter to execve | 12:34:23 | |
| thatll tel you hacker1024: | 12:34:35 | |