From 5a27e7cff91755d3347b6177a30528773122023b Mon Sep 17 00:00:00 2001 From: nekohepott Date: Wed, 17 Jun 2026 04:16:24 +0300 Subject: [PATCH] =?UTF-8?q?=CE=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 46f5246..a650d35 100644 --- a/main.go +++ b/main.go @@ -6,6 +6,7 @@ import ( "os" "os/exec" "regexp" + "strconv" "strings" ) @@ -155,7 +156,7 @@ func getPkgs() string { if err != nil { return "can't get nix packages" } - return string(rune(len(entries))) + " (nix)" + return strconv.Itoa(len(entries)) + " (nix)" } return "unknown" }