Your binary is installed in ~/.nimble/bin while the rest is in 
~/.nimble/pkgs2/module-something This is an issue I constantly hit when using 
nimble, one way or another. I wish there was a standard solution to get the 
location of the installed package but here's a couple of things you can do:

  * `currentSourcePath().parentDir` is what's used most often and will give you 
the installed directory of the nimble package.
  * the command `nimble path module` has the same output as above although it 
returns a list when multiple versions of the same package are installed.
  * os.getAppDir will give you the directory the executable is run from. Likely 
not very useful.


Reply via email to