From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: CA certificates Date: Fri, 13 Feb 2015 02:28:10 -0500 Message-ID: <87a90itgmt.fsf@netris.org> References: <20150210201452.GA15529@debian> <87h9urt50j.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMAfk-0004Pv-6A for guix-devel@gnu.org; Fri, 13 Feb 2015 02:28:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMAff-0001bl-7l for guix-devel@gnu.org; Fri, 13 Feb 2015 02:28:20 -0500 Received: from world.peace.net ([50.252.239.5]:47095) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMAff-0001Zn-4R for guix-devel@gnu.org; Fri, 13 Feb 2015 02:28:15 -0500 In-Reply-To: <87h9urt50j.fsf@netris.org> (Mark H. Weaver's message of "Thu, 12 Feb 2015 12:26:52 -0500") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Andreas Enge Cc: guix-devel@gnu.org Mark H Weaver writes: > For now, I would try putting the following code at the beginning of your > custom 'install' phase: > > (setenv "LOCPATH" (getcwd)) > (zero? (system* "localedef" "--no-archive" > "--prefix" (getcwd) "-i" "en_US" > "-f" "UTF-8" "./en_US.UTF-8")) > (setlocale LC_ALL "en_US.UTF-8") I just realized that the 'zero?' is pointless in that position. I would simply omit it, since if it fails the 'setlocale' should raise an exception anyway. Mark