I've written a after install hook.
However, I noticed that the current directory has changed (to the packages directory) - and is not the directory where the .nimble file is.
How do I get the original directory path?
Nimble is very annoying due to changing the directory structure on install.
For nim files you can use currentSourcePath, it may work in nimble files as well.
Discussion: https://github.com/nim-lang/nimble/issues/653