mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 06:00:45 -06:00
add spinner
This commit is contained in:
parent
8442447bfd
commit
a124a77908
1 changed files with 4 additions and 1 deletions
|
@ -64,8 +64,11 @@ func (o *Oizys) getSystemPath() string {
|
|||
cmd := exec.Command("nix", "derivation", "show", o.nixosConfigAttr())
|
||||
logCmd(cmd)
|
||||
// TODO: add spinner?
|
||||
cmd.Stderr = os.Stderr
|
||||
// cmd.Stderr = os.Stderr
|
||||
s := nixSpinner(o.host)
|
||||
// result, err := cmd.CombinedOutput()
|
||||
out, err := cmd.Output()
|
||||
s.Stop()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue