That’s the binary gcc-arm-embedded-9, which was available in Nixpkgs until it was removed in gcc-arm-embedded-{6,7,8,9,10,11,12}: drop by prusnak · Pull Request #398202 · NixOS/nixpkgs · GitHub as GCC 9 is unsupported upstream (and presumably by Arm also?). It was only packaged for x86_64-darwin, as that’s all Arm offered; the Homebrew formula you linked also downloads an Intel binary (bin/arm-none-eabi-gcc: Mach-O 64-bit executable x86_64).
You can, however, still use it with Rosetta 2 from the nixpkgs-24.11-darwin branch (e.g. github:NixOS/nixpkgs/nixpkgs-24.11-darwin#legacyPackages.x86_64-darwin.gcc-arm-embedded-9). Hopefully that satisfies your needs.
Note that GCC 9 itself probably won’t be around in Nixpkgs much longer given its EOL status upstream, as the packages that required it have mostly been migrated to newer compilers or removed.