TLDR; How can I limit the packages build for one system to only packages used by the host using that system.
As you can see in my flake.nix, I support both x86_64-linux and aarch64-linux because I deploy my raspberry pi from the same flake where my server and laptop configs are. I cross compile the packages for my raspberry pi from my laptop. The drawback is that I compile packages in aarch64 that I don’t even use on my raspberry pi. The latest such example is fprintd that tries to get built on my laptop because the build failed on hydra: Hydra - Build 253892105 of job nixpkgs:trunk:fprintd.aarch64-linux.
Obviously it fails also for me. But I don’t even use it in this architecture so it’s even more annoying lol.
Is there a way for me to say: "only cross compile packages that are going to be used by my raspberry pi host?