mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-06 20:04:18 +00:00
build Nimble with --nilseqs:on until Nimble is fixed
This commit is contained in:
4
koch.nim
4
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) =
|
||||
|
||||
Reference in New Issue
Block a user