From c01c5309f591fc69d0bd4372eb1d575e3a0e6eee Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Tue, 1 Oct 2024 11:05:19 -0500 Subject: [PATCH] use backticks for hash --- pkgs/oizys-nim/src/oizys/nix.nim | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pkgs/oizys-nim/src/oizys/nix.nim b/pkgs/oizys-nim/src/oizys/nix.nim index 8bb2b8c..91c174e 100644 --- a/pkgs/oizys-nim/src/oizys/nix.nim +++ b/pkgs/oizys-nim/src/oizys/nix.nim @@ -186,7 +186,7 @@ proc writeDervationsToStepSummary(drvs: seq[string]) = let rows = collect( for drv in drvs: let (name,hash) = splitDrv(drv) - fmt"| {name} | {hash} |" + fmt"| {name} | `{hash}` |" ) let summaryFilePath = getEnv("GITHUB_STEP_SUMMARY") if summaryFilePath == "": fatalQuit "no github step summary found" @@ -233,10 +233,6 @@ proc nixBuildHostDry*(minimal: bool, rest: seq[string]) = let output = parseDryRunOutput err display output -# TODO: Add to bbansi -template `bbfmt`(pattern: static string): untyped = - bb(fmt(pattern)) - proc nixBuildWithCache*(minimal: bool, name: string, rest:seq[string]) = if findExe("cachix") == "": fatalQuit "is cachix installed?" info bbfmt"building and pushing to cache: [b]{name}"