Hydra | 386 Members | |
| 109 Servers |
| Sender | Message | Time |
|---|---|---|
| 14 Aug 2022 | ||
Download image.png | 18:17:59 | |
| 19:05:52 | ||
| 19:08:50 | ||
| 15 Aug 2022 | ||
| Is this the only thing I need to set to get remote cache upload working for hydra? https://github.com/NixOS/nixos-org-configurations/blob/master/delft/hydra.nix#L33 | 11:43:29 | |
| And the aws stuff obviously | 11:43:51 | |
| That's all I needed for my minio cache, yeah | 14:37:29 | |
| 16:24:36 | ||
| 17:21:10 | ||
| 23:19:28 | ||
| 16 Aug 2022 | ||
In reply to @k900:0upti.meBump | 18:42:44 | |
In reply to @k900:0upti.meajs124 | 18:42:56 | |
| 21:45:16 | ||
| 17 Aug 2022 | ||
| 08:55:37 | ||
| I haven't used Hydra much and have a question to see whether it might be a suitable tool for my usecase. I maintain a repository which defines some FPGA-targets for an embedded OS and I am providing pre-built FPGA bitstreams for these targets, so people don't have to install the heavyweight proprietary FPGA toolchains (>= 50GB binary blob) themselves. I'm already building all of this with Nix, but using regular CI infrastructure like GitHub Actions or TravisCI to automate this is infeasible (can't redistribute the binary blob and it exceeds CI resource limitations). If I were to build this with Hydra, can I
| 09:05:59 | |
| 09:31:52 | |
| 1. maybe/sort of yes. we build stuff like displaylink on our internal hydra, where you need to download the zip manually and agree to the license. 2. sure. hydra comes with a binary cache, but barely anyone uses it. you could just have a hook to only copy the bitstreams or use hydra-support stuff, to offer downloads. | 09:31:58 | |
In reply to @andreas.schraegle:helsinki-systems.deWe should finally implement a setting to disable the binary cache | 09:32:33 | |
| What about adding the toolchain as an impure path? That way it never ends up in the store unless a derivation explicitly copies it in | 09:32:56 | |
| well, I use the binary cache because plotting a nix-serve next to it is not really any different | 09:33:23 | |
In reply to @sandro:supersandro.deI didn't say I wanted to remove it (right now), just having an option to hide the option in the UI and to serve 404s instead of NARs | 09:33:55 | |
In reply to @linus:schreibt.jetzt( extra-sandbox-paths nix option, see man nix.conf) | 09:34:00 | |
The requireFile approach is better for reproducibility, but with a greater risk of accidentally redistributing it, while the extra-sandbox-paths approach means you have extra steps to set up the build environment | 09:35:12 | |
| Cool, thanks for these hints! I wouldn't have known where to start. I'll try to set up a Hydra and see how far I come :) | 10:19:28 | |
| Linux Hackerman: I was under the impression that impure paths were kind of a hack, no? Would you be suggesting that I install the toolchain elsewhere on that system and make it accessible to the build environment. One thing I'd like to retain is the ability for others to potentially use the built artifacts in a binary-cache style. That should work even if I don't redistribute the toolchain, given it's only a build-time dependency and is not referenced in the final realized derivation. Not sure how that would play with impure paths. | 10:23:33 | |
| * Linux Hackerman: I was under the impression that impure paths were kind of a hack, no? Would you be suggesting that I install the toolchain elsewhere on that system and make it accessible to the build environment? One thing I'd like to retain is the ability for others to potentially use the built artifacts in a binary-cache style. That should work even if I don't redistribute the toolchain, given it's only a build-time dependency and is not referenced in the final realized derivation. Not sure how that would play with impure paths. | 10:23:49 | |
| I think for now I can just operate the Hydra behind a firewall and manually copy the final artifacts somewhere else, isn't really a high-frequency deployment situation. But yeah, disabling the binary cache would be a great feature. | 10:24:47 | |
Yes, exactly
As long as the artifacts don't need the toolchain present to work, that should be fine | 10:25:11 | |