summary refs log tree commit diff stats
path: root/koch.nim
diff options
context:
space:
mode:
authorIvan Yonchovski <yyoncho@users.noreply.github.com>2022-08-09 21:04:52 +0300
committerGitHub <noreply@github.com>2022-08-09 14:04:52 -0400
commitec2bc2a50e268bb08903f1cf83631d93caa34c8f (patch)
treeb44de4dd42681211b4200662ee9cd414db6181af /koch.nim
parentb4157f6772574c18232ff7a663c57ea19804f8f5 (diff)
downloadNim-ec2bc2a50e268bb08903f1cf83631d93caa34c8f.tar.gz
Build compiler with --noNimblePath (#20168)
- Fixes https://github.com/nim-lang/Nim/issues/18840
Diffstat (limited to 'koch.nim')
-rw-r--r--koch.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/koch.nim b/koch.nim
index a3cfd5930..7e6a78d54 100644
--- a/koch.nim
+++ b/koch.nim
@@ -332,9 +332,9 @@ proc boot(args: string) =
     # in order to use less memory, we split the build into two steps:
     # --compileOnly produces a $project.json file and does not run GCC/Clang.
     # jsonbuild then uses the $project.json file to build the Nim binary.
-    exec "$# $# $# --nimcache:$# $# --compileOnly compiler" / "nim.nim" %
+    exec "$# $# $# --nimcache:$# $# --noNimblePath --compileOnly compiler" / "nim.nim" %
       [nimi, bootOptions, extraOption, smartNimcache, args]
-    exec "$# jsonscript --nimcache:$# $# compiler" / "nim.nim" %
+    exec "$# jsonscript --noNimblePath --nimcache:$# $# compiler" / "nim.nim" %
       [nimi, smartNimcache, args]
 
     if sameFileContent(output, i.thVersion):