From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 6IRiNeRUHWZTlgAAqHPOHw:P1 (envelope-from ) for ; Mon, 15 Apr 2024 18:25:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6IRiNeRUHWZTlgAAqHPOHw (envelope-from ) for ; Mon, 15 Apr 2024 18:25:08 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=jDPB+l2p; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713198308; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=H64hfadxySreNmMuzeacXeMVa7YxeJ9FWomseZvUlhw=; b=hzo6AMLLkAxVDtZNE+yfAQtOTYsnx2vWeazMd3g2DNCDjRnVC1PmmsEcq4wCSXfkIs2Q5B 3zcQ4x6NYGceoniP9hY0tW+VfaOLRZmH3z05Ox0jRXEC8HVs61lMBUPvr1k/cNhM5najXw ZCPuxoatccKM8sabDfgHqWjk1zlkZjkvT1b6yurtgSdk5gkTd5Yr1MwZu67XaPxF/8JsG/ mKWArz0X22gMBsNksq6XlrCFR1NCpHTQhMKkLccn4xO7h79iF6qsfNI1TjdMhG39Z/c9fZ oeExKNxa5SLFY0KCzDxj/ClMg/JJqFbWfGlkiKNWsQKf50kuj3m96St8CDP/Ng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=jDPB+l2p; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713198308; a=rsa-sha256; cv=none; b=UW2IuoTIzmhifNEJqQcP/4Ig5RjZnquRPqn7rhVTs+9si/cY6JmPtnraMpInDZX/s2ophs qIgH/qiczK71ZL/IffeshhUsOPvbRVCN5ls8QGLu4b9kpD3wZmkHfqV6e3CaC5qLQo4JB5 rdtWAiguuy3+CgXlkkupTgzTWLKgC+G1e5uoDW/eq+KqkLPx+cdJ9MU/Cxo21L2gL2v7SP iJsurWuI9b2JwP+/MGvEFi9lKfzAp+wMmuxzSvKBndkWeixmN13+tT9dkiSOj+MK1DsBPJ CB/eygle2od5g9wW1XxjpCjlBHuy+PEOxDOkKXnBCElYomwGo+K49TA7PKIpOQ== 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 A122FF354 for ; Mon, 15 Apr 2024 18:25:08 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rwP8d-0001rx-Nn; Mon, 15 Apr 2024 12:24:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rwP8b-0001rQ-66 for guix-patches@gnu.org; Mon, 15 Apr 2024 12:24:57 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rwP8W-0001VS-51 for guix-patches@gnu.org; Mon, 15 Apr 2024 12:24:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rwP8h-0000Mb-SM for guix-patches@gnu.org; Mon, 15 Apr 2024 12:25:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70280] [PATCH 2/5] system: =?UTF-8?Q?=E2=80=98operating-system-locale-definitions=E2=80=99?= includes the =?UTF-8?Q?OS=E2=80=99?= locale. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Apr 2024 16:25:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70280 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "pelzflorian (Florian Pelz)" Cc: 70280@debbugs.gnu.org Received: via spool by 70280-submit@debbugs.gnu.org id=B70280.17131982581025 (code B ref 70280); Mon, 15 Apr 2024 16:25:03 +0000 Received: (at 70280) by debbugs.gnu.org; 15 Apr 2024 16:24:18 +0000 Received: from localhost ([127.0.0.1]:38175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rwP7u-0000Ft-A6 for submit@debbugs.gnu.org; Mon, 15 Apr 2024 12:24:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rwP7q-0000EW-K2 for 70280@debbugs.gnu.org; Mon, 15 Apr 2024 12:24:12 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rwP7Z-00012b-9v; Mon, 15 Apr 2024 12:23:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=H64hfadxySreNmMuzeacXeMVa7YxeJ9FWomseZvUlhw=; b=jDPB+l2pEGCb1VtaC+G0 R/0VLqAGiCncJ48vnUjozdzVeaj3e9O5AYwUBTqxdQAhdKpqqSUpci0qNeX0HJSJmeiIxLHQDhMJs BtYMakV+VEAPebnSjkw4WkKPzm8uW2I7oKXQysG+ekaU+AqtP+rpcA+05YwpmADoKLEIOR6ZIL5r7 /zwZjIZFu4lpNsIrlql4qTPaqmrw1f8oU9sdRvcUbHR8h16r8GnDb8/QdBlsE3i7d+CoCrSlqeHTS 17LdTfQrhNz1IU2rUUBjJFkfjdXVBvVNKJVJofnHrU4WaTAiHWZIsXEtnLJh3o+cbePA4yaPDoNBa JijqGI3GMifrPw==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <871q7dshxr.fsf@pelzflorian.de> (pelzflorian@pelzflorian.de's message of "Wed, 10 Apr 2024 11:09:04 +0200") References: <184c38bf07d985a8831f60024a2ae94e2fd6804d.1712585810.git.ludo@gnu.org> <871q7dshxr.fsf@pelzflorian.de> Date: Mon, 15 Apr 2024 18:23:49 +0200 Message-ID: <87ttk2zjai.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.72 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -6.72 X-Migadu-Queue-Id: A122FF354 X-TUID: Z7TCrLJcVdzG "pelzflorian (Florian Pelz)" skribis: > Ludovic Court=C3=A8s writes: >> * gnu/system.scm ()[locale-definitions]: Mark as >> thunked. Default to (operating-system-default-locale-definitions os). >> (operating-system-default-locale-definitions): New procedure. >> (operating-system-locale-directory): Remove logic to add the OS >> =E2=80=98locale=E2=80=99, instead assuming (operating-system-locale-dire= ctory os) has >> everything. >> * doc/guix.texi (operating-system Reference): Adjust accordingly. > > This is a regression. I have in my /run/current-system/configuration.scm > > (locale "de_DE.utf8") > (locale-definitions > (cons* (locale-definition > (name "ar_SY.utf8") (source "ar_SY")) > (locale-definition > (name "bn_BD.utf8") (source "bn_BD")) > (locale-definition > (name "hu_HU.utf8") (source "hu_HU")) > (locale-definition > (name "ka_GE.utf8") (source "ka_GE")) > (locale-definition > (name "lt_LT.utf8") (source "lt_LT")) > (locale-definition > (name "oc_FR.utf8") (source "oc_FR")) > (locale-definition > (name "pt_BR.utf8") (source "pt_BR")) > (locale-definition > (name "si_LK.utf8") (source "si_LK")) > (locale-definition > (name "sk_SK.utf8") (source "sk_SK")) > (locale-definition > (name "sr_RS.utf8") (source "sr_RS")) > %default-locale-definitions)) > > but de_DE.utf8 is not available and > =E2=80=9Cexport LC_ALL=3Dde_DE.utf8=E2=80=9D gives an error. Right. I would call it a semantic change rather than a regression (a feature rather than a bug :-)). It=E2=80=99s more in line with what we=E2=80=99re doing elsewhere: the defa= ult is to include =E2=80=98locale=E2=80=99 in the locale definitions, but we let the = user override that if they wish. Perhaps we should at least clarify the manual? Ludo=E2=80=99.