| 13 Oct 2021 |
Piper McCorkle (she/her or they/them) | * Do the Hydra builders have qemu-binfmt? If not, we'll need to have a sparc64 and ppc64le (etc) buildbox to run those builds on. | 04:54:18 |
Ryan Burns | Unfortunately not. But what about running the build inside a full-fledged VM? We already use VMs for the NixOS tests, and cross-compile entire NixOS systems for embedded hardware. I don't think it would be too much of a leap to cross-compile a testing VM and use it to bootstrap our exotic platforms. | 04:56:12 |
Piper McCorkle (she/her or they/them) | True, we could do that! Though that means we need to get a NixOS system working before being able to add that platform. | 04:58:02 |
Piper McCorkle (she/her or they/them) | I wonder what the hurdles would be to getting qemu-binfmt added to the build boxes, that seems like a more elegant solution than a VM and it would mean running it locally would be as easy as nix build (as long as you have qemu-binfmt or a remote builder for the arch) | 05:20:57 |
Ryan Burns | Maybe a question for https://github.com/NixOS/nixos-org-configurations/? | 05:34:04 |
Piper McCorkle (she/her or they/them) | Looks like they have a Matrix room (#infrastructure:nixos.org ), asked there | 05:37:59 |
Piper McCorkle (she/her or they/them) | In other news, with this commit you should be able to build a new bootstrap-tools just by building a derivation: https://github.com/NixOS/nixpkgs/pull/141448/commits/422076f81423e6f163669737bb70d7824653ea5d | 06:05:56 |
sterni | In reply to @piper:lutris.engineering True, we could do that! Though that means we need to get a NixOS system working before being able to add that platform. to start out it could be any linux distribution running a nix-daemon | 08:33:52 |
Alyssa Ross | although then trust is expanded to that distro | 08:35:53 |