Crosscompiling rust from nixos to windows

This is a quick (and rough) guide about how to get a rust game to compile for windows on nixos using mingw. Nix is cool but figuring out where to even begin to look for stuff is a pain. I&rsquo;ll try to mention how I figured things out. This post is not targeted at total beginners with nix or rust though. Initial Setup I always use nix flakes for their ability to update hashes conveniently.