Nix Cross Compiling | 573 Members | |
| 125 Servers |
| Sender | Message | Time |
|---|---|---|
| 25 Nov 2025 | ||
Yup binfmt is possible to setup on all distros | 18:38:09 | |
Can't automatically pick the packages to get from the cache and which to cross-compile. You can however make a second native nixpkgs instance to pick packages from | 18:40:19 | |
*
Can't automatically pick the packages to get from the cache and which to cross-compile. You can however make a second native nixpkgs instance to pick packages from, you could even overlay them. | 18:40:29 | |
Could I introspect the cache somehow (outside of nix, ahead of time) and add a nixpkgs overlay based on pname to select between ( native | cross ), hoping that the hashes will then match? | 18:43:18 | |
If I do set up binfmt emulation, and I'm using a stable nixos branch that hydra has cached, and not building custom packages, should I expect a 99% cache hit rate, and then the last bit is essentially making the sdcard images which I'd need to do locally? | 18:44:51 | |
| (also I haven't said this yet - thank you for your help!) | 18:45:24 | |
| nix-forecast for a specific installable status https://github.com/getchoo/nix-forecast hydra-check for general status https://github.com/nix-community/hydra-check | 18:46:20 | |
| Could probably make something with those | 18:46:29 | |
The pkgs instance of a config can be accessed like this nixosConfigurations.ArtDesktop.pkgs.hello | 18:48:06 | |