config(nimcache) Use full path for nim cache in `config.nims`

This commit is contained in:
Emil Ivanichkov 2024-02-02 18:44:58 +02:00 committed by Emil Ivanichkov
parent c94a8b77f8
commit 3a52927a55
1 changed files with 2 additions and 2 deletions

View File

@ -11,9 +11,9 @@ when withDir(thisDir(), system.fileExists("nimble.paths")):
# Configuration synced with nwaku's - https://github.com/waku-org/nwaku/blob/master/config.nims
# ---------------------------------------------------- nwaku config ----------------------------------------------------
if defined(release):
switch("nimcache", "nimcache/release/$projectName")
switch("nimcache", thisDir() & "/nimcache/release/$projectName")
else:
switch("nimcache", "nimcache/debug/$projectName")
switch("nimcache", thisDir() & "/nimcache/debug/$projectName")
if defined(windows):
# disable timestamps in Windows PE headers - https://wiki.debian.org/ReproducibleBuilds/TimestampsInPEBinaries