nim-lang / nimble

Package manager for the Nim programming language.
Other
1.25k stars 188 forks source link

`--useSystemNim` is ignored #1251

Open SolitudeSF opened 2 months ago

SolitudeSF commented 2 months ago

Compiling nimlangserver with nimble --useSystemNim install still builds 2.0.2 compiler.

jmgomez commented 1 month ago

Didnt know this existed, a quick look at the code it says: Use system nim and ignore nim from the lock file if any

It only seems to apply to lock files not to requires. Not sure what was the intended design though

SolitudeSF commented 1 month ago

after looking further, if required compiler is already fetched and compiled --useSystemNim is working and uses system compiler, but it will try to redownload and rebuild required version if it was removed. i know that i've built langserver before with this option, but now i cant make it work even with commit that just introduced this option, so idk.