[bug] QMK firmware build fails with GCC cross compilation failure

I am trying to update QMK firmware tools for NixOS, and if possible install the QMK helper tools, but it fails with a cryptic message about GCC10 failing to compile for arm-none-eabihf-stage-static-gcc-debug :

https://github.com/NixOS/nixpkgs/pull/109639