add a newline with each switch

This commit is contained in:
Daylin Morgan 2025-03-19 10:19:25 -05:00 committed by Emery Hemingway
parent 57de201c43
commit 7eaf5d7cdf

View File

@ -89,7 +89,7 @@ proc configurePhase*() =
else: fmWrite
var cfg = newFileStream(configFilePath, mode)
proc switch(key, val: string) =
cfg.writeLine("switch(", key.escape, ",", val.escape, ")")
cfg.writeLine("\nswitch(", key.escape, ",", val.escape, ")")
switch("backend", nf.getNimbleValue("backend", "c"))
switch("nimcache", getEnv("NIX_BUILD_TOP", ".") / "nimcache")
if getEnvBool("nimRelease", true):