mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 06:00:45 -06:00
split outputs
This commit is contained in:
parent
42933ae97c
commit
f17c9fde3f
1 changed files with 3 additions and 2 deletions
|
@ -254,10 +254,11 @@ proc nixBuildWithCache*(name: string, rest:seq[string], service: string, jobs: i
|
||||||
cmd.addArgs rest
|
cmd.addArgs rest
|
||||||
let (path, _, buildCode) = runCmdCapt(cmd)
|
let (path, _, buildCode) = runCmdCapt(cmd)
|
||||||
if buildCode != 0:
|
if buildCode != 0:
|
||||||
|
# TODO: propagate errors using nix log?
|
||||||
error "failed to build: " & drv
|
error "failed to build: " & drv
|
||||||
continue
|
continue
|
||||||
outs.add path.strip()
|
|
||||||
# TODO: propagate errors using nix log?
|
outs &= path.strip().splitLines()
|
||||||
|
|
||||||
var cmd = service
|
var cmd = service
|
||||||
cmd.addArg "push"
|
cmd.addArg "push"
|
||||||
|
|
Loading…
Reference in a new issue