From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kE/IAhMpJ2KqUQAAgWs5BA (envelope-from ) for ; Tue, 08 Mar 2022 10:59:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6I3+OhIpJ2IpCQEAauVa8A (envelope-from ) for ; Tue, 08 Mar 2022 10:59:46 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 53EA83666E for ; Tue, 8 Mar 2022 10:59:46 +0100 (CET) Received: from localhost ([::1]:34654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRWd6-0005ZV-T5 for larch@yhetil.org; Tue, 08 Mar 2022 04:59:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48508) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRWco-0005Xa-Dr for help-guix@gnu.org; Tue, 08 Mar 2022 04:59:27 -0500 Received: from uggla.sjd.se ([178.174.241.107]:42878) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRWcl-0006LL-IY for help-guix@gnu.org; Tue, 08 Mar 2022 04:59:26 -0500 DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=ed2110; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description; bh=GJ4kvm8zM/2tGDZnob0zdS9WU+BDPpYVo6gqKlU+6cM=; t=1646733556; x=1647943156; b=GJe9HN1uNRYFWz9O34hKsJzPbcggI/R5Ce9Wmwaxw6LPoGh zpQBaTjYb8AXCbpYhEz6Nud9e3oTgVAIGtDvYAQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=rsa2110; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description; bh=GJ4kvm8zM/2tGDZnob0zdS9WU+BDPpYVo6gqKlU+6cM=; t=1646733556; x=1647943156; b=NCFK0L8T2eRZ2JDkLRv4HVgdOOd3l8PTYIvce8RzR6wOHz2 Qk1T8NFyARVT/tK+NtvEPoa4WV/4ps6bQ8xY45cOoP2Bb/fvaQlL9XqjjbVXmwkccboQpLkV3FcAp bmMIC6+b/Q+Qb3R+uJVd91YlYQIGuDVY6F4S8p3uoqTSes3JnDNPEmJslqzGNDTVheqnlHAsLyr8h BwIll/a2WsqhUOFJWj6VekvTA/pPCn2xljyDWW+6hN3bL9Zj2jTeZ9cgJ4spsJYN7cxnOasE3OE5e YUtkTwIeegIQBkvw4yZQrWAuMYwISon5kpwH0F5KecZ9SelSQDvBeO2y+vQ3cMoOH0FrrBXU1BNyv CtzZIfsxoRLKLeMsZDlhJsE/xZ4inCAXB2WIPUWY1tbNw24pl5+YMkCWKohmYq5gc7W88hJAyPCnq PrpcAHSRD03tjKxyQqc5O8El; Received: from [2001:9b1:41ac:ff00:f791:6652:cb2b:9479] (port=47730 helo=latte) by uggla.sjd.se with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nRWcZ-0006PJ-55 for help-guix@gnu.org; Tue, 08 Mar 2022 10:59:11 +0100 X-Hashcash: 1:22:220308:help-guix@gnu.org::XcKqEvoortDAYrbj:0VCw To: help-guix@gnu.org Subject: glibc-utf8-locales OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt Date: Tue, 08 Mar 2022 10:59:08 +0100 Message-ID: <87wnh4bw9f.fsf@latte.josefsson.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=178.174.241.107; envelope-from=simon@josefsson.org; helo=uggla.sjd.se X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" Reply-to: Simon Josefsson From: Simon Josefsson via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1646733586; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature:openpgp:openpgp; bh=GJ4kvm8zM/2tGDZnob0zdS9WU+BDPpYVo6gqKlU+6cM=; b=P1umrYwNGL6fUHWnu81616rJn0XHMjTSHpJl0PD4hzVI13czxtM50e/omlI2ZZXggp+4wH m4jBUabkb/AIDDTGuQE3eFezV9ZzpGLI1Nei7lHeTcWcUVQyu2eo58mQCQDr5dOd18JDEA FxAjZCX4j0YiDK58//K0SK+9hSEz7X5xTnctUUaKj8BWMZ74HIr4KoIf0VjpwTkAUQyAVX ea980W24e+DFzXaH3Tqw0jDLx69KmR4lQCNwWyxEULXvs1ujQXY6EU9YbSeTyqpimkissm Xtb38BE+SV7+tUlNKHsMEbFiAAnJwmRwhh2sPpzhM5udgMFy6LdLnNIfGDT+qQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646733586; a=rsa-sha256; cv=none; b=ZeZIegzJax8VdOPUluJfYkb/VFBLnHOGLfEilflEFjhEneLhfrcwemXmCfxqZqqxmU0nGq qVHDjZff0Pobm+viXbZ8Ehg7o0wvY2keJUYUvRaMcwpa+jFCYhLPqzLz7IWz9Erjbu9k7J NkbW7cTLEhRmPMtb/IUR6s7UuLs7Qshhbtjx3NUwU/G2jlk7TwzAAD48Ij92P9sJyw/FBT UQ4qr7w9yVTWzYB8bVejoTjjaJsrMHKr2DKtg0BsR1PuVsR+y5Tkat5M8RBTz10iDHXcc8 EMlCm3IWt4jkzVnJZs2Ze+A8VW8xnJsNpXWBv0NIlzVpxRf9bWKuQE2j9XcCLw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers eddsa verify failed") header.d=josefsson.org header.s=ed2110 header.b=GJe9HN1u; dkim=fail ("headers rsa verify failed") header.d=josefsson.org header.s=rsa2110 header.b=NCFK0L8T; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -6.12 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers eddsa verify failed") header.d=josefsson.org header.s=ed2110 header.b=GJe9HN1u; dkim=fail ("headers rsa verify failed") header.d=josefsson.org header.s=rsa2110 header.b=NCFK0L8T; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 53EA83666E X-Spam-Score: -6.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: lUK/RfdgKo/I --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi. Reconfiguring my machine lately fails with: root@hamster ~# guix system reconfigure /etc/config.scm guix system: error: glibc-utf8-locales: unknown package guix system: error: failed to load '/etc/config.scm': srfi/srfi-1.scm:586:17: In procedure map1: Throw to key `quit' with args `(1)'. root@hamster ~#=20 I noticed the following commmit: https://lists.gnu.org/archive/html/guix-commits/2022-02/msg01204.html First, I wonder if this is optimal. There must be many machines (servers and embedded) where having all locales installed on is wasteful, but where it is useful to have the C.UTF-8 and/or en_US.UTF-8 installed, to get minimal working UTF-8 support. Making this hard to achieve for users seems unhelpful to me. I understand the motivation for the patch, so I don't think it is necessarily wrong, just that something more would also be useful. Maybe it is just the documentation part that could be improved). Trying to follow its advice, I modified my config.scm [1] as follows: (use-modules (gnu packages base)) ; make-glibc-utf8-locales ... (define my-glibc-locales (make-glibc-utf8-locales glibc #:locales (list "en_US" "sv_SE") #:name "glibc-useful-swedish-utf8-locales")) ... (operating-system ... (packages (append (map specification->package '("glibc-useful-swedish-utf8-locales" ... Thus letting "glibc-useful-swedish-utf8-locales" replace my earlier use of "glibc-utf8-locales" in that package list stanza (which worked happily for me for a long time). However it results in the following error: root@hamster ~# guix system reconfigure /etc/config.scm guix system: error: glibc-useful-swedish-utf8-locales: unknown package guix system: error: failed to load '/etc/config.scm': srfi/srfi-1.scm:586:17: In procedure map1: Throw to key `quit' with args `(1)'. root@hamster ~#=20 I tried changing the definition into: (define glibc-useful-swedish-utf8-locales (make-glibc-utf8-locales glibc #:locales (list "en_US" "sv_SE") #:name "glibc-useful-swedish-utf8-locales")) and even trying (make-glibc-utf8-locales glibc #:locales (list "en_US" "sv_SE") #:name "glibc-useful-swedish-utf8-locales") to prove that I'm clearly not understanding what I'm doing, however, it still doesn't work. Help? /Simon [1] https://gitlab.com/jas/sjd-cosmos/-/blob/master/hamster.josefsson.org/o= verlay/etc/config.scm --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIoEARYIADIWIQSjzJyHC50xCrrUzy9RcisI/kdFogUCYico7RQcc2ltb25Aam9z ZWZzc29uLm9yZwAKCRBRcisI/kdFolYtAP96lnH/2Tiy34eXeyUHphpwJqdulzKs Z6GJMmFxJNr4tAEA64wJJJsFjsnbZsmHQVmjr6Nmsu9HKXrFX9UguiDfkQ4= =gWfL -----END PGP SIGNATURE----- --=-=-=--