config(nimcache) Use full path for nim cache in `config.nims`
This commit is contained in:
parent
c94a8b77f8
commit
3a52927a55
|
@ -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
|
# Configuration synced with nwaku's - https://github.com/waku-org/nwaku/blob/master/config.nims
|
||||||
# ---------------------------------------------------- nwaku config ----------------------------------------------------
|
# ---------------------------------------------------- nwaku config ----------------------------------------------------
|
||||||
if defined(release):
|
if defined(release):
|
||||||
switch("nimcache", "nimcache/release/$projectName")
|
switch("nimcache", thisDir() & "/nimcache/release/$projectName")
|
||||||
else:
|
else:
|
||||||
switch("nimcache", "nimcache/debug/$projectName")
|
switch("nimcache", thisDir() & "/nimcache/debug/$projectName")
|
||||||
|
|
||||||
if defined(windows):
|
if defined(windows):
|
||||||
# disable timestamps in Windows PE headers - https://wiki.debian.org/ReproducibleBuilds/TimestampsInPEBinaries
|
# disable timestamps in Windows PE headers - https://wiki.debian.org/ReproducibleBuilds/TimestampsInPEBinaries
|
||||||
|
|
Loading…
Reference in New Issue