mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 01:50:44 -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
|
||||
let (path, _, buildCode) = runCmdCapt(cmd)
|
||||
if buildCode != 0:
|
||||
# TODO: propagate errors using nix log?
|
||||
error "failed to build: " & drv
|
||||
continue
|
||||
outs.add path.strip()
|
||||
# TODO: propagate errors using nix log?
|
||||
|
||||
outs &= path.strip().splitLines()
|
||||
|
||||
var cmd = service
|
||||
cmd.addArg "push"
|
||||
|
|
Loading…
Reference in a new issue