Skip to content

Commit

Permalink
fixes #24173; always bundle checksums
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout authored Sep 27, 2024
1 parent a275421 commit e24ae23
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions koch.nim
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -52,7 +52,7 @@ const
+-----------------------------------------------------------------+
| Maintenance program for Nim |
| Version $1|
| (c) 2017 Andreas Rumpf |
| (c) 2024 Andreas Rumpf |
+-----------------------------------------------------------------+
Build time: $2, $3
Expand All @@ -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:
Expand Down Expand Up @@ -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"):
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e24ae23

Please sign in to comment.