Is anyone trying to port nix and nixpkgs to output native Windows PE executables? I would like to avoid cross-compilation and cygwin if possible to get something as close as native as possible.
I talked a bit with @edolstra and he said the following things:
it is (was) possible to build non-cygwin binaries, e.g. https://github.com/NixOS/nixpkgs/commit/08d3840c94aa4016cdab441751ac78692dc600e2
we used to have Visual C++ in Nixpkgs
probably nowadays we would want to use WSL instead of Cygwin
at least I assume it’s possible to run native windows executables from WSL
It’s just an exploration for now and am looking for more prior art.