diff options
author | flywind <xzsflywind@gmail.com> | 2022-03-24 03:42:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-23 20:42:08 +0100 |
commit | e93eaac223045543e753643765b6982a109b41a1 (patch) | |
tree | 45013bb5e7f5a511c21ac8441ffc03cc10a3dd04 /koch.nim | |
parent | 7f6e800cafc7b73625893fb5280eb8b51a15b252 (diff) | |
download | Nim-e93eaac223045543e753643765b6982a109b41a1.tar.gz |
build external deps with userversion:1.6 (#19612)
Diffstat (limited to 'koch.nim')
-rw-r--r-- | koch.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/koch.nim b/koch.nim index 295b1584b..a3cfd5930 100644 --- a/koch.nim +++ b/koch.nim @@ -142,7 +142,7 @@ proc csource(args: string) = proc bundleC2nim(args: string) = cloneDependency(distDir, "https://github.com/nim-lang/c2nim.git") nimCompile("dist/c2nim/c2nim", - options = "--noNimblePath --path:. " & args) + options = "--noNimblePath --useVersion:1.6 --path:. " & args) proc bundleNimbleExe(latest: bool, args: string) = let commit = if latest: "HEAD" else: NimbleStableCommit @@ -150,7 +150,7 @@ proc bundleNimbleExe(latest: bool, args: string) = commit = commit, allowBundled = true) # installer.ini expects it under $nim/bin nimCompile("dist/nimble/src/nimble.nim", - options = "-d:release --noNimblePath " & args) + options = "-d:release --useVersion:1.6 --noNimblePath " & args) proc bundleNimsuggest(args: string) = nimCompileFold("Compile nimsuggest", "nimsuggest/nimsuggest.nim", |