From 473b03b3c6fbca909e18dbb5888ac5a98992207a Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 29 Jan 2013 23:59:27 +0100 Subject: Gracefully handle failure to install the current locale. * guix/ui.scm (install-locale): New procedure. * guix-build.in, guix-download.in, guix-gc.in, guix-import.in, guix-package.in: Use it instead of (setlocale LC_ALL ""). --- guix-gc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guix-gc.in') diff --git a/guix-gc.in b/guix-gc.in index ab7ce3214f..1a4a5413d9 100644 --- a/guix-gc.in +++ b/guix-gc.in @@ -155,7 +155,7 @@ interpreted." (alist-cons 'argument arg result)) %default-options)) - (setlocale LC_ALL "") + (install-locale) (textdomain "guix") (setvbuf (current-output-port) _IOLBF) (setvbuf (current-error-port) _IOLBF) -- cgit v1.2.3