diff options
-rw-r--r-- | compiler/cmdlinehelper.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/cmdlinehelper.nim b/compiler/cmdlinehelper.nim index 7656a11f9..13090ce9c 100644 --- a/compiler/cmdlinehelper.nim +++ b/compiler/cmdlinehelper.nim @@ -66,6 +66,8 @@ proc loadConfigsAndRunMainCommand*(self: NimProg, cache: IdentCache; conf: Confi initDefines(tempConf.symbols) tempConf.command = conf.command tempConf.commandArgs = conf.commandArgs + tempConf.searchPaths = conf.searchPaths + tempConf.lazyPaths = conf.lazyPaths runNimScript(cache, p, freshDefines = false, tempConf) mergeConfigs(conf, tempConf) |