Hello all!
I'm happy to announce that I just released a new version of choosenim. Some of the most significant changes include:
For full details have a look at the changelog.
To update you can run:
$ choosenim update self
Let me know if you run into any issues. Also as an aside, if you are doing Hacktoberfest, I have tagged a few nice issues in the choosenim repo. I would encourage you to give them a whack :)
After updating choosenim I tried 'choosenim update stable' and got the following message;
Error: unhandled exception: SSL support is not available. Cannot connect over SSL. Compile with -d:ssl to enable. [HttpRequestError]
Thanks for pasting that error @Fire.
Looking at it, the relevant part is:
/Users/ramirosenstock/.choosenim/toolchains/nim-#version-1-6/config/nim.cfg(51, 1) Error: invalid package name: /Users/ramirosenstock/.nimble/pkgs/noise-0.1.4-caf4bfe0b026d5fcb5814e95c41a382010b69161
You must have used the new Nimble at some point which breaks the package directory for old Nim compilers, you'll need to clear the .nimble directory to fix it.
Getting this behaviour with 0.8.2 on Windows. I've tried clearing out C:\Users\user\AppData\Local\Temp\choosenim-extraction but it gives the same error afterwards.
choosenim --version
choosenim v0.8.2 (2021-10-05 20:20:47) [windows/amd64]
choosenim.exe "#version-1-6"
Downloading DLLs (openssl, pcre, ...)
[##################################################] 100.0% 0kb/s
Extracting dlls.zip
Downloading Nim version-1-6 from GitHub
[##################################################] 100.0% 0kb/s
Extracting version-1-6.tar.gz
Error: Unable to extract. Error was 'Execution failed with exit code 1
... Command: tar xf C:\Users\user\.choosenim\downloads\version-1-6.tar.gz -C C:\Users\user\AppData\Local\Temp\choosenim-extraction
... Output: Nim-version-1-6/bin/nim-gdb.bash: Can't create '\\\\?\\C:\\Users\\user\\AppData\\Local\\Temp\\choosenim-extraction\\Nim-version-1-6\\bin\\nim-gdb.bash'
... tar: Error exit delayed from previous errors.
... '.