fix: restore -d:postgres in nimble task and propagate NIMFLAGS

This commit is contained in:
darshankabariya 2026-04-24 16:10:33 +05:30
parent ff98d85313
commit 54e695f4b6
No known key found for this signature in database
GPG Key ID: 9A92CCD9899F0D22

View File

@ -76,7 +76,7 @@ proc getMyCPU(): string =
return " --cpu:amd64 "
proc getNimParams(): string =
return " " & getEnv("NIM_PARAMS") & " "
return " " & getEnv("NIM_PARAMS") & " " & getEnv("NIMFLAGS") & " "
### Helper functions
proc buildModule(filePath, params = ""): bool =
@ -379,7 +379,7 @@ task testcommon, "Build & run common tests":
### Waku tasks
task wakunode2, "Build Waku v2 cli node":
let name = "wakunode2"
buildBinary name, "apps/wakunode2/", " -d:chronicles_log_level=TRACE "
buildBinary name, "apps/wakunode2/", " -d:chronicles_log_level=TRACE -d:postgres "
task benchmarks, "Some benchmarks":
let name = "benchmarks"