mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 06:03:15 -06:00
with ouptut
This commit is contained in:
parent
5e7dce62cb
commit
add7992106
1 changed files with 2 additions and 0 deletions
|
@ -110,6 +110,8 @@ proc toBuildNixosConfiguration(): seq[string] =
|
|||
var cmd = nixCommand("build")
|
||||
cmd.addArg "--dry-run"
|
||||
cmd.addArgs nixosConfigAttrs()
|
||||
debug "trying with ouptut"
|
||||
discard execCmd(cmd)
|
||||
let (_, err) = runCmdCaptWithSpinner(cmd, "running dry run build for: " & getHosts().join(" "))
|
||||
let output = parseDryRunOutput err
|
||||
return output.toBuild.mapIt(it.storePath)
|
||||
|
|
Loading…
Reference in a new issue