summary refs log tree commit diff stats
path: root/koch.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-08-13 16:07:23 +0200
committerAraq <rumpf_a@web.de>2018-08-13 16:07:23 +0200
commitd60bb1b289c7914443a20b78bfb6c69f05184937 (patch)
treecae1ef173e3dff09a36179fa36cb135e33f97077 /koch.nim
parent46204eba1f2eb1840b6543958c9a5306f707b3d6 (diff)
downloadNim-d60bb1b289c7914443a20b78bfb6c69f05184937.tar.gz
build Nimble with --nilseqs:on until Nimble is fixed
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 ad6a774e8..2f4c8d567 100644
--- a/koch.nim
+++ b/koch.nim
@@ -182,7 +182,7 @@ proc bundleNimbleExe() =
   bundleNimbleSrc()
   # now compile Nimble and copy it to $nim/bin for the installer.ini
   # to pick it up:
-  nimexec("c -d:release dist/nimble/src/nimble.nim")
+  nimexec("c -d:release --nilseqs:on dist/nimble/src/nimble.nim")
   copyExe("dist/nimble/src/nimble".exe, "bin/nimble".exe)
 
 proc buildNimble(latest: bool) =
@@ -209,7 +209,7 @@ proc buildNimble(latest: bool) =
       else:
         exec("git checkout -f stable")
       exec("git pull")
-  nimexec("c --noNimblePath -p:compiler -d:release " & installDir / "src/nimble.nim")
+  nimexec("c --noNimblePath -p:compiler --nilseqs:on -d:release " & installDir / "src/nimble.nim")
   copyExe(installDir / "src/nimble".exe, "bin/nimble".exe)
 
 proc bundleNimsuggest(buildExe: bool) =