From 8ceae1884b6c5a292b99c1014b97e51820868ce5 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 11 Mar 2024 10:22:35 -0500 Subject: [PATCH] quit if build fails --- oizys/oizys.nim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/oizys/oizys.nim b/oizys/oizys.nim index fe4fb4f..55083ac 100644 --- a/oizys/oizys.nim +++ b/oizys/oizys.nim @@ -79,9 +79,11 @@ proc cache(c: OizysContext) = --print-build-logs \ --accept-flake-config """ + let duration = (now() - start) if code != 0: - error "faile to build configuration for: ", c.host + error "failed to build configuration for: ", c.host + quit code if summaryFile != "": writeFile(