summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--build_all.bat2
-rwxr-xr-xbuild_all.sh2
-rw-r--r--koch.nim4
-rw-r--r--tools/ci_generate.nim2
4 files changed, 5 insertions, 5 deletions
diff --git a/build_all.bat b/build_all.bat
index c8ba05e19..ef4a5f6a4 100644
--- a/build_all.bat
+++ b/build_all.bat
@@ -24,6 +24,6 @@ if not exist %nim_csources% (
   cd ..
   copy /y bin\nim.exe  %nim_csources%
 )
- bin\nim.exe c --skipUserCfg --skipParentCfg --hints:off koch
+ bin\nim.exe c --noNimblePath --skipUserCfg --skipParentCfg --hints:off koch
  koch boot -d:release --skipUserCfg --skipParentCfg --hints:off
  koch tools --skipUserCfg --skipParentCfg --hints:off
diff --git a/build_all.sh b/build_all.sh
index fb3d15d45..83848f41a 100755
--- a/build_all.sh
+++ b/build_all.sh
@@ -11,7 +11,7 @@ set -e # exit on first error
 . ci/funs.sh
 nimBuildCsourcesIfNeeded "$@"
 
-echo_run bin/nim c --skipUserCfg --skipParentCfg --hints:off koch
+echo_run bin/nim c --noNimblePath --skipUserCfg --skipParentCfg --hints:off koch
 echo_run ./koch boot -d:release --skipUserCfg --skipParentCfg --hints:off
 echo_run ./koch tools --skipUserCfg --skipParentCfg --hints:off
 
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):
diff --git a/tools/ci_generate.nim b/tools/ci_generate.nim
index a8a80e026..46bc39470 100644
--- a/tools/ci_generate.nim
+++ b/tools/ci_generate.nim
@@ -42,7 +42,7 @@ triggers:
 
 proc genBuildExtras(echoRun, koch, nim: string): string =
   result = fmt"""
-{echoRun} {nim} c --skipUserCfg --skipParentCfg --hints:off koch
+{echoRun} {nim} c --noNimblePath --skipUserCfg --skipParentCfg --hints:off koch
 {echoRun} {koch} boot -d:release --skipUserCfg --skipParentCfg --hints:off
 {echoRun} {koch} tools --skipUserCfg --skipParentCfg --hints:off
 """