From ec2bc2a50e268bb08903f1cf83631d93caa34c8f Mon Sep 17 00:00:00 2001 From: Ivan Yonchovski Date: Tue, 9 Aug 2022 21:04:52 +0300 Subject: Build compiler with --noNimblePath (#20168) - Fixes https://github.com/nim-lang/Nim/issues/18840 --- koch.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'koch.nim') 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): -- cgit 1.4.1-2-gfad0