summary refs log tree commit diff stats
path: root/koch.nim
diff options
context:
space:
mode:
authoralaviss <leorize+oss@disroot.org>2020-09-26 07:31:55 +0000
committerGitHub <noreply@github.com>2020-09-26 09:31:55 +0200
commitd4892e9388084e71f9389efce7bba42d8c069d09 (patch)
tree8e07bb0c4af2e46b3dbcaee58859d0cfd115a662 /koch.nim
parent2de6e18774ec9f0f15c88ab916d7f501ba13b467 (diff)
downloadNim-d4892e9388084e71f9389efce7bba42d8c069d09.tar.gz
koch, compiler: bundle fusion as part of the source archive (#15409)
This allows distributions to build Nim from the downloaded source
archive without an Internet connection.
Diffstat (limited to 'koch.nim')
-rw-r--r--koch.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/koch.nim b/koch.nim
index cce689135..68c5764be 100644
--- a/koch.nim
+++ b/koch.nim
@@ -201,7 +201,8 @@ proc bundleWinTools(args: string) =
 
 proc bundleFusion(latest: bool) =
   let commit = if latest: "HEAD" else: FusionStableCommit
-  cloneDependency(distDir, "https://github.com/nim-lang/fusion.git", commit)
+  cloneDependency(distDir, "https://github.com/nim-lang/fusion.git", commit,
+                  allowBundled = true)
   copyDir(distDir / "fusion" / "src" / "fusion", "lib" / "fusion")
 
 proc zip(latest: bool; args: string) =