mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 01:53:15 -06:00
add build flag
This commit is contained in:
parent
67e94ed1cf
commit
853678a1a9
2 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,7 @@ type
|
|||
CaptStdout
|
||||
CaptStderr
|
||||
|
||||
# TODO: suppot both capturing and inheriting the stream?
|
||||
# TODO: support both capturing and inheriting the stream?
|
||||
proc runCmdCapt*(
|
||||
cmd: string,
|
||||
capture: set[CaptureGrp] = {CaptStdout},
|
||||
|
|
|
@ -253,6 +253,7 @@ proc nixBuildWithCache*(name: string, rest:seq[string], service: string, jobs: i
|
|||
cmd.addArg drv
|
||||
cmd.addArg "--no-link"
|
||||
cmd.addArg "--print-out-paths"
|
||||
cmd.addArg "-L"
|
||||
cmd.addArgs rest
|
||||
let (path, _, buildCode) = runCmdCapt(cmd)
|
||||
if buildCode != 0:
|
||||
|
|
Loading…
Reference in a new issue