For the purpose of tracking nake import dependencies it would be nice if a macro or other mechanism allowed the program to get information on the path to the module being imported. At the moment a simple nakefile won't regenerate itself if for example a nimble package is updated. If such a macro was possible, it could store the paths of the modules in some variable and use that at runtime to check the file modification timestamps.
This may overlap with the feature request https://github.com/Araq/Nim/issues/671.