Hydra | 386 Members | |
| 109 Servers |
| Sender | Message | Time |
|---|---|---|
| 26 Jun 2021 | ||
| It's not working without it. lets test it with it | 10:59:57 | |
| It might only parse the file when distributed builds are enabled | 11:00:13 | |
| Hmmh, still not working. I have the following relevant options set, what could be missing?
| 11:03:51 | |
(the build in question is aarch64 | 11:04:12 | |
| does it show in your hydra? | 11:04:34 | |
| How would I check? | 11:04:44 | |
| https://hydra.local/admin/machines | 11:04:51 | |
| you might need to wait 10min or restart the queue runner | 11:05:19 | |
Jup, with aarch64-linux | 11:05:19 | |
| oh | 11:05:23 | |
| so it should work | 11:05:27 | |
| hydra knows it can build there | 11:05:33 | |
| if it doesn't work, your binfmt might be misconfigured | 11:05:50 | |
| we use something along the lines of
| 11:07:16 | |
I'm able to locally build the thing on that machine using nix build <the flake>#aarch64.<mypackage> though | 11:09:15 | |
| So I would assume that my binfmt setup is healthy | 11:09:33 | |
| yeah it probably is | 11:09:43 | |
* I'm able to locally build the thing on that machine using nix build <the flake>#packages.aarch64-linux.<mypackage> though | 11:09:46 | |
| I'll try to restart all hydra services | 11:10:22 | |
In reply to @wucke13:matrix.orgSo, first thing: This seems to not be necessary. Just changing localhost already propagated to hydra, according to the admin/machines overview | 11:16:20 | |
| And indeed, rebooting the machine did the trick. So, thank you das_j , you solved all my issues in this regard :) | 11:17:28 | |
In reply to @wucke13:matrix.orgAny chance that you also know an answer to this one? 🙂 | 11:18:43 | |
one note about the machines file, that might be useful, is that you don't have to use /etc/nix/machines, but can give hydra its own machines file, e.g. with services.hydra.buildMachinesFilesno idea about the flakes thing, though | 11:21:28 | |
In reply to @wucke13:matrix.orgNo, I prefer stable nix | 11:26:38 | |
In reply to @andreas.schraegle:helsinki-systems.deAdditionaly, the queue runner reloads the file every 10 minutes or so, so you don't even have to restart it | 11:27:08 | |
| 12:12:49 | ||
wucke13 hydraJobs."<attr>"."<system>" = derivation; should work. | 12:13:53 | |
See https://nixos.wiki/wiki/Flakes There is an overview of the most common keys in outputs and what they are used for. | 12:15:18 | |
| dadada: What a surprise to see you here 😀 | 14:17:40 | |
In reply to @tim:stratum0.orgTo come back to my question, where in nixosConfigurations.my-machine do I find the relevant derivation which builds most of the configuration (without generating an ISO or such stuff, I just want the store to be populated with everything needed to actually build said config). | 14:21:50 | |