Thanks for playing games on NixOS!
https://nix.dev/tutorials/cross-compilation#cross-compilatio... for an approachable introduction.
Currently we just support Unix -> Windows via MinGW. That's not good enough for AAA games.
But in the works is:
- https://github.com/NixOS/nixpkgs/pull/72366 Windows cross via LLVM and auto-downloaded MSVC runtime (you do need to indicate you signed the license, but that's it). I've heard of running cl.exe in Wine, and we could do that too
- https://github.com/nix-windows/nix Windows port of Nix
We finish these things up, and then we have the flawless Unix <-> Windows I advertised.
However, https://github.com/NixOS/nix/pull/3160 to switch to Meson, has gotten new life breathed into it. Pamplemousse, who is interning where Edolstra works, is fuzzing Nix and needs Meson to make that less burdensome.
If that does get merged, than nix-windows can just be about Windows and not also be about Nix's build system, which will make it a lot easier to finish.