From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sPrrBBk04WEcOAEAgWs5BA (envelope-from ) for ; Fri, 14 Jan 2022 09:28:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kGmgARk04WGPbgAAauVa8A (envelope-from ) for ; Fri, 14 Jan 2022 09:28:09 +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 BB7212E602 for ; Fri, 14 Jan 2022 09:28:08 +0100 (CET) Received: from localhost ([::1]:33810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8HwN-0007Hy-Sf for larch@yhetil.org; Fri, 14 Jan 2022 03:28:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8HwI-0007Dc-JQ for guix-patches@gnu.org; Fri, 14 Jan 2022 03:28:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42562) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8HwI-0004PX-A0 for guix-patches@gnu.org; Fri, 14 Jan 2022 03:28:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8HwI-0006x8-84 for guix-patches@gnu.org; Fri, 14 Jan 2022 03:28:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52891] [PATCH] guix-install.sh: Run guix.sh script in /etc/profile.d last. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Jan 2022 08:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52891 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Konrad Hinsen Cc: 52891@debbugs.gnu.org Received: via spool by 52891-submit@debbugs.gnu.org id=B52891.164214885126661 (code B ref 52891); Fri, 14 Jan 2022 08:28:02 +0000 Received: (at 52891) by debbugs.gnu.org; 14 Jan 2022 08:27:31 +0000 Received: from localhost ([127.0.0.1]:35462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8Hvm-0006vw-UT for submit@debbugs.gnu.org; Fri, 14 Jan 2022 03:27:31 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:53510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8Hvh-0006ve-Sv for 52891@debbugs.gnu.org; Fri, 14 Jan 2022 03:27:29 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 43AB53D2; Fri, 14 Jan 2022 09:27:19 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oHZTbBtbgy02; Fri, 14 Jan 2022 09:27:18 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 3104B23C; Fri, 14 Jan 2022 09:27:18 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Fri, 14 Jan 2022 09:27:17 +0100 In-Reply-To: (Konrad Hinsen's message of "Thu, 30 Dec 2021 09:39:31 +0100") Message-ID: <875yqm67tm.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: 43AB53D2 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[fastmail.net]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[fastmail.net]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] 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" 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=1642148888; 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; bh=sL+OrFT/JllVPVwdNyHGD90iasAFvTFxbg/fh0A9Y20=; b=LkGO9hDSSmNxsCxoiR+0iJ8sccsp4S8gRK/5afKm+VoqP/Q0rg3t4U82ifk4dY/13JmYiO j/NED7tJNEKWcthxM7jSmpyUtfEr2hZ6xVXtgaDyEUUiEnb5uaIqNaTPquCGfoCCJehq+m r82JpAgbKjEA/SetBHvgKCNGymNdpPjToHNCmFVnGxU2vUURSI+5IjQwU9BtYqaoEu7d9O DVLrcPQNHHs4g2BRnUpkGB3b+JiyK46Mnd7fQDTxiFolKKSXlWDFhfn6g4Imq8Jhw7BVAM 26PZ3PnwBaOTPTYIXcbpqjUBrudsaAxjVvbT9j/km1IeIveSmIp/rL00+iXCYQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642148888; a=rsa-sha256; cv=none; b=gdtdDdZ7PUDA945n+Ro5+KApyigJ+UAfX5WPiXcAvX823Qmrr2MDeGwGvEMDmGti4vGEHh ITSXaSHRVsH8n5LhxENxIPj2ue65rnbSKcrvy+dwAxQFrN11GEWhfTFw3mOWgmkn20WjkO l+YyiBV4H11wYN3cENo2ffR6OZct33p4fNSp79wFR8dxPo5aH23+rd3W8bhg5coYI3pYC0 YICcrRKmKGz0BB6EpYyZJ2MA0xnzInqCBSJqkuqfupJwofqOjTy7/kMifi5WWQH2YchIPq jMhGlBcH1Oi/auBZkDBn36bIsTMMRTQ5w1HIBjgq86IrSxdEekpULpiiDqYaMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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" X-Migadu-Spam-Score: -3.92 Authentication-Results: aspmx1.migadu.com; dkim=none; 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" X-Migadu-Queue-Id: BB7212E602 X-Spam-Score: -3.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: uDATNmNsVDIK Hi Konrad, Konrad Hinsen skribis: > * etc/guix-install.sh: Rename /etc/profile.d/guix.sh to zzz-guix.sh. > > This script refers to environment variables set by the host distribution. > They may be set in other scripts in /etc/profile.d, which must therefore > be run first. > Example: in Ubuntu 20.04, XDG_DATA_DIRS is set in > /etc/profile.d/xdg_dirs_desktop_session.sh [...] > - cat <<"EOF" > /etc/profile.d/guix.sh > + cat <<"EOF" > /etc/profile.d/zzz-guix.sh Does anybody have objections, such as distros where this would not work? Otherwise let=E2=80=99s apply it in time for the upcoming release. Thanks, Ludo=E2=80=99.