From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YDP1Oj1Lw2JVVwEAbAwnHQ (envelope-from ) for ; Mon, 04 Jul 2022 22:19:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id IKnxOj1Lw2LJXQAA9RJhRA (envelope-from ) for ; Mon, 04 Jul 2022 22:19:09 +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 9006E32ED5 for ; Mon, 4 Jul 2022 22:19:09 +0200 (CEST) Received: from localhost ([::1]:56596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8SXE-0004t8-AY for larch@yhetil.org; Mon, 04 Jul 2022 16:19:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8SX8-0004sv-Ri for guix-patches@gnu.org; Mon, 04 Jul 2022 16:19:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54833) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o8SX8-0003t8-Ht for guix-patches@gnu.org; Mon, 04 Jul 2022 16:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o8SX8-0000Ph-D1 for guix-patches@gnu.org; Mon, 04 Jul 2022 16:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56050] [PATCH] home: services: environment-variables: Fix XDG base directories. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Jul 2022 20:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56050 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Philip McGrath Cc: 56050@debbugs.gnu.org Received: via spool by 56050-submit@debbugs.gnu.org id=B56050.16569659011539 (code B ref 56050); Mon, 04 Jul 2022 20:19:02 +0000 Received: (at 56050) by debbugs.gnu.org; 4 Jul 2022 20:18:21 +0000 Received: from localhost ([127.0.0.1]:48730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8SWS-0000Oi-1g for submit@debbugs.gnu.org; Mon, 04 Jul 2022 16:18:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8SWF-0000O9-Dv for 56050@debbugs.gnu.org; Mon, 04 Jul 2022 16:18:17 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41552) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8SWA-0003n5-1L; Mon, 04 Jul 2022 16:18:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=SYH0CchTvfJKHNUCBl0LO8f2MHPqhRC9ZGSjlWsLFe4=; b=YSA8ZwzZJWovowMplgE9 gd7P43kMc6A7djD8Vlo6sOuLLlmcoFuLTU1TgN+ODI1BMhUO291/R+BrVr9dtxjOYQcCyyfpWCTdv 5rSzPFXgYmrsB+2mOBANesnY1Lwxmz7Rv5B52Hr6n/UL7Y/hdnMNUyhdSAcboSbeXFZpwi10a+2m0 2TDj4rmPvNzdRtZHrdKYDmbhNVf2FweACtpmpl6ExdNhegZNifhcppN7r1/gaFVyy4TbsY5SJlxeq gKN8OpzmiD/44o4SzxxjHnWfnV0tP8YT0afsOUGMXsRvDFTRjUT/82HMEAKbb3x7PTz9olncA2mQ5 108RerS3Jpe+Eg==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:62173 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8SW9-0005YD-LH; Mon, 04 Jul 2022 16:18:01 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <605a74b1f064e2b057f6c9d57692dda5bccf8edf.1656899134.git.philip@philipmcgrath.com> Date: Mon, 04 Jul 2022 22:18:00 +0200 In-Reply-To: <605a74b1f064e2b057f6c9d57692dda5bccf8edf.1656899134.git.philip@philipmcgrath.com> (Philip McGrath's message of "Sun, 3 Jul 2022 22:35:02 -0400") Message-ID: <87tu7w7htz.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) 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" 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=1656965949; 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=SYH0CchTvfJKHNUCBl0LO8f2MHPqhRC9ZGSjlWsLFe4=; b=FS7GFY2TA2WeSwtzKbqUnxtLmZX6ejaqbdaIBqgI9oFbr2mEtnGSH2Dg7P+BJX8dN1L38h JkEy0dpT9ya1darUsAkJUk6iUGnTamJ9rORiokVqa0UU9JFxRZceYfJJ81idOR6n/QwyLA hgJBTLwc3ooe/kOqNhSFOiIjyvepRmOFKMKMvb5xQXVwyaZdFoM77cYwk/cidvd2dUF3xY q0ty/xTNKjk+yqIGfyeRGZS29EE0yYS+8/U2C4KTJh67aqbCeLWnTTtRbj8+ElN7eNpFZn dkfszcIZr6v4pLyZkhaT4g4Ur3HJcu9Z/O1zjknKWDDnY542wQHhq+aG/6kVNQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656965949; a=rsa-sha256; cv=none; b=GEupXUva0HG1453GFjo6i18QJDECMdqtIIFcM7gX/vnXNMO5Aaw0A4Vt1McrCGj0w1N5mJ Gb+Bj3B7BkJq94qwTC7BtDx7OWX0KRMP3L20bmAu6XfUYyHd4RxbeTrC2kxRPwxkcLzNKL qg8Ejjee4sRPQDXAvh+fUDzn7iku6OxqAnJEkELVoXxwbEGxa861VkYId7Qj6cdbUITrl7 za6s3DyyszkHxNmEk5ufkJ3C4zHRvp1lF3FtA/h5TITWpIT7gZDYJy0CfKlk3OUk4Ovuxp 1/dAmuoUrtyDGrRq7Xr5UY9NE6HGvwoYAZhXTXMG4Prphg12g9lLGSxjcBxQNw== 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=YSA8ZwzZ; 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: -4.95 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=YSA8ZwzZ; 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: 9006E32ED5 X-Spam-Score: -4.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: cmiO87f5sJ32 Philip McGrath skribis: > The default values from the XDG base directory specification make little > sense for Guix System, and some scripts in Guix assume that they are not > "empty or unset": for example, see . > On foreign distros, however, omitting the default values is likely to > break software from the distro, perhaps even preventing the desktop > environment from starting. To smooth over the difference, use the > system-wide configuration to ensure the environment variables are always > explicitly set on foreign distros. > > * etc/guix-install.sh (sys_create_init_profile): Explicitly initialize > XDG base directory variables. [...] > If "$HOME/.guix-home/profile" exists, use it for GUIX_PROFILE instead of > "$HOME/.guix-profile". > > * etc/guix-install.sh (sys_create_init_profile): Check for 'guix home' > profile. Applied now, thanks, and sorry again for displaying my ignorance! :-) Ludo=E2=80=99.