Posted by deevus 22 hours ago
(To be clear, I haven't tried this with Nix, but I have with other distros.)
You just need the required build tools.
If you've ever had to setup a CI/CD pipeline for a Visual Studio project then you've had to do this.
This script is great. Just use it. The title saying “I fixed” is moderately offensive glory stealing.
What needs to be fixed is the valley between unix and windows development for cross-os/many-compiler builds, so one that does both can work seamlessly.
It's not an easy problem and there are lots of faux solutions that seem to fix it all but don't (in builds, the devil is in edge cases).