I'm surprised I haven't seen anyone else run into this yet so I'm posting it here.
I was trying to get a fresh install of Nim 1.0 running on my Windows 10 laptop. It's not my normal development box, but I was hoping to get a few PRs to psutil-nim in for Hacktoberfest to add some basic Windows support.
Here's my O/S versions so people can compare:
OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.18362 N/A Build 18362
I installed nim 1.0, then installed Git-2.23.0 (32-bit, though that doesn't matter) so I could nimble install what I needed to.
After it had installed, I could NOT get nimble to install a package. I kept getting a cygheap base mismatch detected error.
Turns out that Windows added mandatory ASLR which breaks a bunch of the Git binaries. If you run into this, you need to open up Exploit Protection from the Start Menu, then go into Program Settings and add exceptions for a few programs. I used the following list:
I added them by name only, not full path. When the next dialog box pops up, you want to scroll down to Force randomization for images (Mandatory ASLR) and:
Do that for each of the binaries above and you should be good to go.
I'm not sure if it makes sense to put this someplace official (nimble docs, the Nim installation on Windows page, etc). Happy to submit a PR if someone has a preference.