From ab18654e593085feb92e8f93f5c575d6ce62cda4 Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Sat, 2 Jun 2012 22:43:09 +0300 Subject: [PATCH] attempt to fix nimbuild --- lib/system.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/system.nim b/lib/system.nim index 449b56c2f4..c8166bc10b 100755 --- a/lib/system.nim +++ b/lib/system.nim @@ -2175,7 +2175,8 @@ proc staticRead*(filename: string): string {.magic: "Slurp".} ## const myResource = staticRead"mydatafile.bin" ## -proc staticExec*(command: string, input = ""): string {.magic: "StaticExec".} +proc staticExec*(command: string, input = ""): string {. + magic: "StaticExec".} = nil ## executes an external process at compile-time. ## if `input` is not an empty string, it will be passed as a standard input ## to the executed program.