Subject: Commands like "guix system search KEYWORD" don't work with locale it_IT.utf8

From: Luigi Salamone <[email-masked]>
Date: Sat, 4 Mar 2023 15:08:58 +0000

Hi!

I'm unable to use guix commands like "guix system search KEYWORD".
No problem if I run the commend with LANG=LC_ALL.

[anonymous@guix ~]$ guix system search cups

Backtrace:
In ice-9/boot-9.scm:
  1752:10 19 (with-exception-handler _ _ #:unwind? _ # _)
In guix/status.scm:
    851:3 18 (_)
    831:4 17 (call-with-status-report _ _)
In ice-9/boot-9.scm:
  1752:10 16 (with-exception-handler _ _ #:unwind? _ # _)
In guix/scripts/system/search.scm:
   188:20 15 (_)
   164:18 14 (find-service-types _)
In guix/discovery.scm:
    189:3 13 (fold-module-public-variables _ _ _)
In guix/combinators.scm:
    48:26 12 (fold2 #<procedure 7fb93997b800 at guix/discovery.scm:…> …)
    48:26 11 (fold2 #<procedure 7fb93997b760 at guix/discovery.scm:…> …)
In guix/discovery.scm:
   192:33 10 (_ #<service-type activate 7fb93e430a40> () #<vhash 7fb…>)
In guix/scripts/system/search.scm:
   166:28  9 (_ #<service-type activate 7fb93e430a40> ())
In guix/ui.scm:
   1670:6  8 (relevance #<service-type activate 7fb93e430a40> _ (# …))
In srfi/srfi-1.scm:
   460:18  7 (fold #<procedure 7fb939983de0 at guix/ui.scm:1670:12 …> …)
In guix/ui.scm:
  1673:17  6 (_ _ 0)
  1473:24  5 (texi->plain-text _)
In texinfo.scm:
  1132:22  4 (parse _)
   967:36  3 (loop #<input: string 7fb939966620> (*fragment*) #<pro…> …)
     92:2  2 (command-spec _)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Throw to key `parser-error' with args `(#f "Unknown command" dnf)'.