mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 06:03:15 -06:00
use backticks for hash
This commit is contained in:
parent
d3a9286723
commit
c01c5309f5
1 changed files with 1 additions and 5 deletions
|
@ -186,7 +186,7 @@ proc writeDervationsToStepSummary(drvs: seq[string]) =
|
||||||
let rows = collect(
|
let rows = collect(
|
||||||
for drv in drvs:
|
for drv in drvs:
|
||||||
let (name,hash) = splitDrv(drv)
|
let (name,hash) = splitDrv(drv)
|
||||||
fmt"| {name} | {hash} |"
|
fmt"| {name} | `{hash}` |"
|
||||||
)
|
)
|
||||||
let summaryFilePath = getEnv("GITHUB_STEP_SUMMARY")
|
let summaryFilePath = getEnv("GITHUB_STEP_SUMMARY")
|
||||||
if summaryFilePath == "": fatalQuit "no github step summary found"
|
if summaryFilePath == "": fatalQuit "no github step summary found"
|
||||||
|
@ -233,10 +233,6 @@ proc nixBuildHostDry*(minimal: bool, rest: seq[string]) =
|
||||||
let output = parseDryRunOutput err
|
let output = parseDryRunOutput err
|
||||||
display output
|
display output
|
||||||
|
|
||||||
# TODO: Add to bbansi
|
|
||||||
template `bbfmt`(pattern: static string): untyped =
|
|
||||||
bb(fmt(pattern))
|
|
||||||
|
|
||||||
proc nixBuildWithCache*(minimal: bool, name: string, rest:seq[string]) =
|
proc nixBuildWithCache*(minimal: bool, name: string, rest:seq[string]) =
|
||||||
if findExe("cachix") == "": fatalQuit "is cachix installed?"
|
if findExe("cachix") == "": fatalQuit "is cachix installed?"
|
||||||
info bbfmt"building and pushing to cache: [b]{name}"
|
info bbfmt"building and pushing to cache: [b]{name}"
|
||||||
|
|
Loading…
Reference in a new issue