Closed heysokam closed 1 year ago
I think I understand what you want but then why not edit your nim.cfg manually? Atlas only touches its specific section and the rest of the nim.cfg is all yours.
Oh, so you mean I could add the system toolkit folder to the nim.cfg file? Didn't think that would work
Would it be possible to do that for the workspace itself, in some way? :thinking: Also, would that stop atlas from duplicating the folders when a dependency is asked for?
Oh, so you mean I could add the system toolkit folder to the nim.cfg file?
Yes, that works.
Would it be possible to do that for the workspace itself, in some way?
Yes, create a nim.cfg
in the workspace.
Also, would that stop atlas from duplicating the folders when a dependency is asked for?
Yes, if the dependency is not in your .nimble file.
I've tried setting up atlas for a project, but I don't know if I like that there is no way (that I know of) to connect an atlas workspace to the root toolchain folder of the host system (or any other arbitrary folder).
I understand if this is by design, and it does make a lot of sense if this is the case.
What I was thinking is having the option to (explicitly, manually) setup paths where atlas can search for dependencies, so that the same libraries don't end up duplicated 10 times because of having 10 different workspaces.
My idea would be:
That would be my feature request if this is not possible. Or just my question if the feature exists and I haven't found it (sorry if that's the case).