From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KCnmGMwtfWInVAEAbAwnHQ (envelope-from ) for ; Thu, 12 May 2022 17:54:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UHDgGMwtfWLuVgAA9RJhRA (envelope-from ) for ; Thu, 12 May 2022 17:54:52 +0200 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 8F5A12EBA2 for ; Thu, 12 May 2022 17:54:51 +0200 (CEST) Received: from localhost ([::1]:38782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npB9O-0006wR-9p for larch@yhetil.org; Thu, 12 May 2022 11:54:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npB21-0002a5-Hp for help-guix@gnu.org; Thu, 12 May 2022 11:47:13 -0400 Received: from mail-yb1-xb32.google.com ([2607:f8b0:4864:20::b32]:36756) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npB1z-0005wl-Jw for help-guix@gnu.org; Thu, 12 May 2022 11:47:13 -0400 Received: by mail-yb1-xb32.google.com with SMTP id x17so10558754ybj.3 for ; Thu, 12 May 2022 08:47:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20210112.gappssmtp.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=wDbiSXia67YiyFSNaqNnaBN+SRlWScWqmDwZcj13lxw=; b=K45rFDhk5pZ5dTYljUGgTj9i05LySf/YUpV6Bh77+n3qtXMGf6dxvD2Ax3aXTE1nYl qzluS3V86Ek7DmqhI75AVNzu3XINm8V/uknOdTtxMXMjP0wHUex0pDD+ApgcHDATpo6j S+J0tSKmNzVGYNkQi+wmnghMJGEGJmLVFKdJ4atADOgUxqW0hFDjg2eaLIXKpERnk+BM wCPoA9l4Kbrevkywt860OQqUrbj/CuAQibCuDtEswkJ7IUOHN5zgvk3g2UbK1v6d/SOZ D43yuo0ReKh0hN07n/nVgVhpUVB3NdmG1+NzCo0mfQ0blmxc0TQ+OpI1IYgkfvFdbFKM w/Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wDbiSXia67YiyFSNaqNnaBN+SRlWScWqmDwZcj13lxw=; b=7Wa5l51I6MsD1EpKflygyRYj2OBlMlbHM5QFoCvt7ztp+eyU35BkkRIQvdL776Kxyb VKreCMghnx4CaN2weoNfTditSu/h+KnmF5fGRAx4B4UL16aJRxxZ2kiUR0OKld6YM8Ys B4hrbSkpxG0LorAsJtWIet5ZQn46QSKcJE1Er0YrHRJjdPZ/LCARMkduqWnaw8gGweyj VvGn7eMmsu/d1kZ3+Vt709sI5iDReY+nRMhRoElCeanl0X0Ber6pAFNgusQ87aZ9OVQP Ft4YG4v6Wun13cywokKGKV2YT+vh4ZDNNG0Ubn5VWanM4zheahdahZCPGJgMyetAC0Eo jwjw== X-Gm-Message-State: AOAM533ZjirBN+W3m7fUBnfvl+O/U6TNjVxpCMzk5hvNmyuf/c9DiwUt qjy6hABU+AV21QAx/Wn8KrbNM/vuVOAucHLEwJ3dRDj2NoFOmPZQ X-Google-Smtp-Source: ABdhPJz+4vmpNjB6Ub7ikDF4oUd9BUr6H7vPMqo6aYmqu/oVKpcyHwRfhgCsgZEOc0XFQFv5hwTL/rMJIcsofNVVGUk= X-Received: by 2002:a05:6902:4c6:b0:648:7049:1668 with SMTP id v6-20020a05690204c600b0064870491668mr440246ybs.478.1652370430638; Thu, 12 May 2022 08:47:10 -0700 (PDT) MIME-Version: 1.0 From: Greg Hogan Date: Thu, 12 May 2022 11:47:00 -0400 Message-ID: Subject: Why must GUIX_LOCPATH be manually exported? To: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: none client-ip=2607:f8b0:4864:20::b32; envelope-from=code@greghogan.com; helo=mail-yb1-xb32.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652370892; h=from:from:sender:sender: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; bh=wDbiSXia67YiyFSNaqNnaBN+SRlWScWqmDwZcj13lxw=; b=ETmhH6xUASL3gGogNDl7oY2tqIOiH4jeOBadlmTuQZyKGAFiHzZZx+TOp4ebNRktIV3iC5 B8sU40WVoWDx2JV5XPxRNahYlkdrOz+sQUUaLWEL1Dvnl34bX6gkbhhrPBi6CiZIAVZeuC N5U8dZMBrr3ohIyJSg3a3l8vIl3yrgqRFJdqUHS1i64vOyUxlt98/pbOHAB35Dw4NKHdEa LU4SzpQizYrSprcKNeojKN+ca1WDzTGDK6E9KvBNVLpyGwCJWifiloSkGFdpt3/waE/WVk BGgd5hhYV//KYNyZ/jbr3GsNAeiz4IRx6eA+E8z98w9lfi2/H0gmliArGf/h3g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652370892; a=rsa-sha256; cv=none; b=oobqff8tqe9XqTHLW9aOSZ2ycmndET3goaQBADOw61p0oykzC08nT/uWB0Fi9UdKjEg/Y3 oWq345gl5WNQgfRDXF3MH+xrRnp/t7oR2ZXAG4mReO2RUZB2qPvIL7LaeoaY/XnoGlvKWm YameQcwljm87DRMsluPSZBmO8oqGmm9JE/MI1+RSaOdwlytzLCptZXyBNFFZcPdPUJ1O8e 25bOiCA4R9aIpX+Xxgj/7jlP+FSanAaIeKDEzytqV+15Ew8512VF/IoDOLrm2hFA+ycZdw EG77QlBmxDbx4/4066+i9DxoRAQkLgH8FkiU1QTokLfZF3wNspuuHdeBe4Me4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=greghogan-com.20210112.gappssmtp.com header.s=20210112 header.b=K45rFDhk; dmarc=none; 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.01 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=greghogan-com.20210112.gappssmtp.com header.s=20210112 header.b=K45rFDhk; dmarc=none; 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: 8F5A12EBA2 X-Spam-Score: -6.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: cyLS1I3E8HZ7 I am seeing the following warning running Guix on a foreign distribution: $ man man man: can't set the locale; make sure $LC_* and $LANG are correct The errors disappear when I manually configure GUIX_LOCPATH, as described at https://guix.gnu.org/manual/devel/en/html_node/Application-Setup.html: $ guix install glibc-locales $ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale Why is GUIX_LOCPATH not automatically added to the user profile (loaded with 'source ${GUIX_PROFILE}/etc/profile')? We see with `guix shell` that GUIX_LOCPATH is not set in the user environment: $ guix shell glibc-locales --pure --search-paths If GUIX_LOCPATH cannot be automatically exported in the user profile, I am wondering if it could be set from the manifest by the example custom 'my-glibc-locales' from the link above. Greg