guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/09: store: 'set-build-options' sends LC_MESSAGES, not LC_ALL.


From: guix-commits
Subject: 02/09: store: 'set-build-options' sends LC_MESSAGES, not LC_ALL.
Date: Wed, 2 Sep 2020 11:19:25 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 739f6309478d8ab8501bb653ceb2f634c8560f55
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Sep 2 15:56:47 2020 +0200

    store: 'set-build-options' sends LC_MESSAGES, not LC_ALL.
    
    * guix/store.scm (set-build-options): Change #:locale default value
    to (setlocale LC_MESSAGES).
---
 guix/store.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/store.scm b/guix/store.scm
index 6bb6f43..d859ea3 100644
--- a/guix/store.scm
+++ b/guix/store.scm
@@ -820,7 +820,7 @@ encoding conversion errors."
                             (terminal-columns (terminal-columns))
 
                             ;; Locale of the client.
-                            (locale (false-if-exception (setlocale LC_ALL))))
+                            (locale (false-if-exception (setlocale 
LC_MESSAGES))))
   ;; Must be called after `open-connection'.
 
   (define buffered



reply via email to

[Prev in Thread] Current Thread [Next in Thread]