-
Notifications
You must be signed in to change notification settings - Fork 195
Description
Having worked a couple of years with iojs for the money, I really enjoyed the modularity of projects vs the C++ world.
I've already had several problems with Nim, while hacking the compiler etc. that ~./.nimble/.. pkgs and global nim stdlibs are preferred over the ones from the dir I'm working in.
This is mostly a nim mod-lookup issue, and partly nimble.
Basically a project-local mod deps dir - like "node_modules/" in iojs/nodejs - it should have precedance. Also, those package dirs, should easily be pure github checkouts, for deving on deps, hand in hand with a project.
This way version matched packages can be stored per project - they could still be cached in home-dir/nimble. I'd prefer 'proj-local' pkgs as default. But an option would be ok, "nimble install local..."
#114 (comment)
nim-lang/Nim#2819 (comment)
nim-lang/Nim#2819 (comment)
As for the module lookup, I guess that's in nim's domain.