How do I build a binary on NixOS that I can run on other distros?

How about generating an OCI container and then run that with podman? Any relatively recent distro should be able to run that.