mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 06:03:15 -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