Where do I put the line: switch("define", "ssl")?
I tried a few more things without luck:
before build:
switch("define", "ssl")
In the nimble docs I found this:
Make sure that Nimble is configured to run with SSL, adding a -d:ssl flag to the file src/nimble.nim.cfg. After that, you can run src/nimble install and overwrite the existing installation.
I'm not sure what "run src/nimble install" means but adding -d:ssl to the cfg wasn't enough.
I'm running on a Mac.