dom96 / choosenim

Tool for easily installing and managing multiple versions of the Nim programming language.
BSD 3-Clause "New" or "Revised" License
680 stars 64 forks source link

[FR] choosenim should have an option for building nim & nimble for current running target #285

Closed dangbinghoo closed 3 years ago

dangbinghoo commented 3 years ago

hi, it would be great if choosenim support grabing current stable/devel version of nim & nimble source, and build it for current running target.

now, it's just grab the X86 arch binary whatever target it's running on.

thanks!

dangbinghoo commented 3 years ago

hmm, it seems that choosenim devel --latest is building running target's nim from the latest devel source

dom96 commented 3 years ago

yep choosenim devel --latest is what you want. Nimble versions are tied to Nim's so there isn't a way to choose Nimble (might be worth implementing too, but you can in effect choose nimble by installing a particular Nimble manually via nimble install nimble@vX.X.X