This gist shows an overlay that can be applied to the Nix Kismet package to enable cross-compiling with pkgsCross. It also provides a modified Kismet packages with the applied changes.
NOTE: This gist is now obselete, issue was resolved with this PR: NixOS/nixpkgs#276038
QEMU is required to emulate some of the tools in the build environment (pkg-config, protoc, protoc-c). On Debian based systems install with:
sudo apt -y install qemu-user-static
And then check that aarch64 is being emulated with:
ls -l /proc/sys/fs/binfmt_misc | grep aarch64
On NixOS add:
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
To your system config, and rebuild.
Apply the kismet.nix contents to nixpkgs/applications/networking/sniffers/kismet/default.nix and build the modified package with .#pkgsCross.aarch64-multiplatform.kismet from the Nixpkgs root directory, or apply the overlay to your existing project's kismet package.
Thanks to @NickCao for helping clean up my PR to fix this: NixOS/nixpkgs#276038