| 25 Nov 2025 |
eb |
Can't automatically pick the packages to get from the cache and which to cross-compile.
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 |
eb |
You can however make a second native nixpkgs instance to pick packages from, you could even overlay them.
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 |
eb | (also I haven't said this yet - thank you for your help!) | 18:45:24 |
Artturin | 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 |
Artturin | Could probably make something with those | 18:46:29 |
Artturin | The pkgs instance of a config can be accessed like this nixosConfigurations.ArtDesktop.pkgs.hello | 18:48:06 |
eb |
nix-forecast
Very nice, looks like something that will be very useful for a/b comparisons. Thanks for the pointer!
hydra-check
Good to know, but probably more useful for those actively hacking on nixpkgs
| 18:49:03 |
Artturin | aarch64-linux is pretty well supported so I guess so | 18:51:17 |
Artturin | https://hydra.nixos.org/job/nixos/trunk-combined/tested#tabs-constituents | 18:51:24 |