Ψ
This commit is contained in:
parent
5855e573a9
commit
5a27e7cff9
3
main.go
3
main.go
@ -6,6 +6,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"regexp"
|
"regexp"
|
||||||
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -155,7 +156,7 @@ func getPkgs() string {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return "can't get nix packages"
|
return "can't get nix packages"
|
||||||
}
|
}
|
||||||
return string(rune(len(entries))) + " (nix)"
|
return strconv.Itoa(len(entries)) + " (nix)"
|
||||||
}
|
}
|
||||||
return "unknown"
|
return "unknown"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user