summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-12-14 12:00:49 +0100
committerAraq <rumpf_a@web.de>2018-12-14 12:00:57 +0100
commit32c6b35d97332e884648929672b0f163ee6febff (patch)
tree4c65abce282954b25e548a07b9740d772f53f184
parenta54e3f46026e641ab8653d06c12eb04aa57d4274 (diff)
downloadNim-32c6b35d97332e884648929672b0f163ee6febff.tar.gz
fixes yet another NimScript regression
-rw-r--r--compiler/cmdlinehelper.nim2
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)