nixfleet/modules/binfmt/default.nix
Andrea Ciceri 09e977cc18
Remove aarch64-linux from binfmt.emulatedSystems
Otherwhise the Hercules CI agent on `x86_64-linux` will start building `aarch64-linux` derivations
2024-01-26 14:35:32 +01:00

9 lines
317 B
Nix

{
boot.binfmt.emulatedSystems = ["i686-linux" "riscv64-linux"];
nix.extraOptions = ''
extra-platforms = aarch64-linux arm-linux i686-linux riscv64-linux
'';
# XXX For some reason `docker buildx` isn't aware of this:
# https://discourse.nixos.org/t/docker-ignoring-platform-when-run-in-nixos/21120/14
}