mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 01:53:15 -06:00
strip output
This commit is contained in:
parent
3c730fb6f1
commit
42933ae97c
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ proc nixCommand(cmd: string): string =
|
|||
|
||||
proc nixosConfigAttrs*(): seq[string] =
|
||||
for host in getHosts():
|
||||
result.add fmt"{getFlake()}#nixosConfigurations.{host}.config.system.build.toplevel"
|
||||
result.add getFlake() & "#nixosConfigurations." & host & ".config.system.build.toplevel"
|
||||
|
||||
const nixosSubcmds* =
|
||||
"""switch boot test build dry-build dry-activate edit
|
||||
|
@ -256,7 +256,7 @@ proc nixBuildWithCache*(name: string, rest:seq[string], service: string, jobs: i
|
|||
if buildCode != 0:
|
||||
error "failed to build: " & drv
|
||||
continue
|
||||
outs.add path
|
||||
outs.add path.strip()
|
||||
# TODO: propagate errors using nix log?
|
||||
|
||||
var cmd = service
|
||||
|
|
Loading…
Reference in a new issue