From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IHPjKZLsZmGeUgEAgWs5BA (envelope-from ) for ; Wed, 13 Oct 2021 16:26:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id yHSOJZLsZmEAYAAA1q6Kng (envelope-from ) for ; Wed, 13 Oct 2021 14:26:26 +0000 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 EBDE123E9C for ; Wed, 13 Oct 2021 16:26:25 +0200 (CEST) Received: from localhost ([::1]:47798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mafD6-0004jZ-B0 for larch@yhetil.org; Wed, 13 Oct 2021 10:26:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mafCW-0004iP-Sp for help-guix@gnu.org; Wed, 13 Oct 2021 10:25:48 -0400 Received: from mail-il1-x131.google.com ([2607:f8b0:4864:20::131]:35614) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mafCR-0007p4-Qz for help-guix@gnu.org; Wed, 13 Oct 2021 10:25:48 -0400 Received: by mail-il1-x131.google.com with SMTP id k3so2960864ilu.2 for ; Wed, 13 Oct 2021 07:25:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beadling-co-uk.20210112.gappssmtp.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=GX/4emtGPZVReA3ifxKgWBvxjT6QSW80jVO0p7hr8Ww=; b=ZL1EVxItt9W4M7CWwfn77/uBi4D67L6Do/iy1Nhc0Ytgxfvn39ehORBU0sQf5Ad2BB iub2fbR0DyfkHqPgDVifSJtesmx3p0Bw2fDA0/L/P1k/6rBDf9y046FScLVgzKCGfTaS q2GX2Vr6p5vTTo8HEqe6c/f9QLmKHAxcJrECk35TZtCcHskm1vvR63+w9YKU0QOA4amk YPtiG5xMVR1LM8xHYhXLzYQJnwl5St4046z/U+8U8nXs1xTROeuAlEjie6esOujUhghE 8L2ZZqD+g5Va7t2Fwg8QBc+nhWbiWNRNnCaGx95K/Jm5CZzR1Pg+y8JMlbigCQbrXXID yxBQ== 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=GX/4emtGPZVReA3ifxKgWBvxjT6QSW80jVO0p7hr8Ww=; b=H/EYFYx9fMQObIdgtcfPggZyJQR+uA500LQToFEtYfLusDmy8UMaGhdiPq/b5J/+Cd pqRWE+FeW21aRZ3BeOrDpNpDTrqQjfPZ71kjHZ4vWhPtyAEoR0BnstrLTOm89J6NK68P npROTVhASG9mGUWO1UJPFnpvICStPxHVKOfy3ifknsc7jAIpPt9ax5w/o//DS/u6DKkr aY5T7BGORrsN3QmFDt2VO3z/ayvmYLePJBz7vaMXtxQFexFxVSY4RGn+bnw7Bif/3ZQ3 VTOx7bmabyg4REvBiZ/QODZgb5fue1TNYeAzZqW4y/lfuzuH+jTc2HquF1aUTzU8xspR 7Png== X-Gm-Message-State: AOAM533J0BGIuktCAXpxy4+mucQh4eSr9UGkKtey/KHQUFF1IzRW+Cmr X2c3YHN83OcmHq7NOtIREO4NvMf1hgPjZaoJN8Ttm51Pn8TORKan9ZXw3Q== X-Google-Smtp-Source: ABdhPJx1gSoqz5hmCmaps+r7ox9+9hm7eSqb807UcYc7Ukf7rly6a1OncgnoRmA6pQXHxwcsYU81OeavBpp2gnYSK74= X-Received: by 2002:a05:6e02:20eb:: with SMTP id q11mr29340935ilv.14.1634135141606; Wed, 13 Oct 2021 07:25:41 -0700 (PDT) MIME-Version: 1.0 From: Phil Beadling Date: Wed, 13 Oct 2021 15:25:30 +0100 Message-ID: Subject: GUIX_LOCPATH in empty environments vs profiles To: help-guix Received-SPF: none client-ip=2607:f8b0:4864:20::131; envelope-from=phil@beadling.co.uk; helo=mail-il1-x131.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634135186; 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=Op67FbDU2kmz3T8YwgjQTBS8OYHL6GIFKdhoBPP6WLo=; b=uA/RHnmMjQTkGrwYFgLG6k3Cql1/9Kw3TaoIhVj8qqssB5/lPpQAYLwUu8sZxj6OG6vQWp uUp3uPMh3FYHnudnQpAAuqmnR4p948eX5yXt8sfwWdKy04Aa5bgv3Tus2UdPfQlMWM0yE5 nXj1AKLhSZBHX/NoBfg+9WFbqruzVDbPurcqUJmlIQCw4quoLK+eibzyCY0a9vAvExDi3C 3/z4OW9WWg/mRiopROqqNOcMhFLPYWTvVc2diCK3jm+0CVYIZWpsSLxl00WYrQLnMwKddA rPKz4pFJC8CvPYpw/DUQSb2fftcCGDcTKXhEJt7w74IDKOwOe0aWAq6Ba2BY9w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634135186; a=rsa-sha256; cv=none; b=ERnHyp7x7cz5ZodGH3G+rqbjPAaCzCxvdPvowE7oRQPAWELA7OT/LTDALKacNH7AH+XS9I L+gueiSoTR1+VbPPstQBG9J948Ht5THtpv0/ONsvBvii4P3ogvcQpS5tTOYUzbgtBncOB7 x+K0Y7IMi7qJQWijYynKH+ZFrn556el12YZ5yPDHhuu79WJQiKV5ld5z8ARP1MOMtSTSGr wh0JU1+oG6vVO3/LuZ7LZpBo/nl+efxRLOhzz5WD/7NLaZ3Ckjv0JvXvyTu7gFOejz8Fe4 Y0VzenoBsLg2k1k5eJuK4H5np20g95yUfeuruyKrAfoGk+m0g1QCsH/mS4MpDQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=beadling-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=ZL1EVxIt; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=beadling-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=ZL1EVxIt; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: EBDE123E9C X-Spam-Score: -1.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: M4QWGzsKEI9B Hi all, I've noticed what looks like me to be a discrepancy between environments and profile. I'm running Guix as a package manager over Ubuntu in this instance. If I create even an empty environment in Guix, GUIX_LOCPATH is set, but in order to achieve the same ends in a profile I need to explicitly include glibc-utf8-locales as either a propagated input or in a manifest (assuming my default profile is empty). This tripped me up the last 24 hours - I had a manifest which would install and run just fine as an environment but which was producing mysterious runtime errors after installing without error into a profile (due to one of the libraries requiring locale files I eventually worked out). I've always expected enironments and profiles to behave the same as a runtime environment, when provided with the same inputs to create them - is there a reason for this discrepancy that I'm missing? Should I always install locales into my default profile, rather than keep them empty (they are not needed for many of my profile use-cases so it seems a waste to install them by default)? Cheers, Phil. $ guix environment The following derivation will be built: /gnu/store/ga3dgkjwjz9s73khf5vbwx53i8n0ax8w-profile.drv *building profile with 0 packages...* $ echo $GUIX_LOCPATH /gnu/store/rgydar9dfvflqqz2irgh7njj34amaxc6-glibc-utf8-locales-2.31/lib/locale $