add a newline with each switch

This commit is contained in:
Daylin Morgan
2025-03-19 21:48:06 +05:30
committed by Emery Hemingway
parent 57de201c43
commit 7eaf5d7cdf
+1 -1
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):