Switch to the new style of importing vendor packages (#4218)

This commit is contained in:
zah 2022-10-05 02:39:12 +03:00 committed by GitHub
parent 576b999387
commit 3f90fe8a7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

3
.gitignore vendored
View File

@ -70,3 +70,6 @@ resttest0_data
# Nimble user files
nimble.develop
nimble.paths
# nimbus-build-system files
nimbus-build-system.paths

View File

@ -1,5 +1,11 @@
import strutils
--noNimblePath
if getEnv("NIMBUS_BUILD_SYSTEM") == "yes" and
system.fileExists("nimbus-build-system.paths"):
include "nimbus-build-system.paths"
const nimCachePathOverride {.strdefine.} = ""
when nimCachePathOverride == "":
when defined(release):