buildNimPackage: use nimFlags in checkPhase

This commit is contained in:
Emery Hemingway 2023-08-02 14:23:45 +01:00
parent 380a34d03c
commit b9c260884b

View file

@ -150,7 +150,7 @@ proc checkPhase*() =
proc before(idx: int) =
echo "check job ", idx, ": ", cmds[idx]
for path in walkPattern("tests/t*.nim"):
cmds.add("nim r $#" % [path])
cmds.add("nim r $# $#" % [getenv("nimFlags"), path])
let err = execProcesses(
cmds, n = 1,
beforeRunEvent = before)