nimble icon indicating copy to clipboard operation
nimble copied to clipboard

`--useSystemNim` is ignored

Open SolitudeSF opened this issue 1 year ago • 2 comments

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

SolitudeSF avatar Jul 29 '24 15:07 SolitudeSF

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

jmgomez avatar Jul 30 '24 12:07 jmgomez

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.

SolitudeSF avatar Jul 30 '24 12:07 SolitudeSF