always bundle checksums (#89)

This commit is contained in:
tersec 2024-10-08 12:20:14 +00:00 committed by GitHub
parent c3241765e3
commit 6e5586ae9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -118,6 +118,11 @@ build_nim() {
# working directory # working directory
pushd "$NIM_DIR" pushd "$NIM_DIR"
# Otherwise, when updating from pre-v2.0.10 to v2.0.10 or later,
# https://github.com/nim-lang/Nim/issues/24173 occurs. Simulates
# https://github.com/nim-lang/Nim/pull/24189 as a workaround.
rm -rf dist/checksums
if grep -q skipIntegrityCheck koch.nim; then if grep -q skipIntegrityCheck koch.nim; then
# Run Nim buildchain, with matching dependency versions # Run Nim buildchain, with matching dependency versions
# - CSOURCES_REPO from Nim/config/build_config.txt (nim_csourcesUrl) # - CSOURCES_REPO from Nim/config/build_config.txt (nim_csourcesUrl)