fixes #24173; always bundle checksums (#24189)

fixes #24173

`cloneDependency` always has its logic to use existing deps
This commit is contained in:
ringabout
2024-09-27 15:33:13 +08:00
committed by GitHub
parent fd379c2f94
commit 62a5bb4d0a

View File

@@ -1,12 +1,12 @@
#
#
# Maintenance program for Nim
# (c) Copyright 2017 Andreas Rumpf
# (c) Copyright 2024 Andreas Rumpf
#
# See the file "copying.txt", included in this
# distribution, for details about the copyright.
#
# See doc/koch.txt for documentation.
# See doc/koch.md for documentation.
#
const
@@ -52,7 +52,7 @@ const
+-----------------------------------------------------------------+
| Maintenance program for Nim |
| Version $1|
| (c) 2017 Andreas Rumpf |
| (c) 2024 Andreas Rumpf |
+-----------------------------------------------------------------+
Build time: $2, $3
@@ -77,6 +77,7 @@ Possible Commands:
doesn't require network connectivity
nimble builds the Nimble tool
atlas builds the Atlas tool
checksums installs the checksums dependency
fusion installs fusion via Nimble
Boot options:
@@ -344,8 +345,7 @@ proc boot(args: string, skipIntegrityCheck: bool) =
let smartNimcache = (if "release" in args or "danger" in args: "nimcache/r_" else: "nimcache/d_") &
hostOS & "_" & hostCPU
if not dirExists("dist/checksums"):
bundleChecksums(false)
bundleChecksums(false)
let usingLibFFI = "nimHasLibFFI" in args
if usingLibFFI and not dirExists("dist/libffi"):
@@ -508,8 +508,7 @@ proc temp(args: string) =
result[1].add " " & quoteShell(args[i])
inc i
if not dirExists("dist/checksums"):
bundleChecksums(false)
bundleChecksums(false)
let d = getAppDir()
let output = d / "compiler" / "nim".exe