From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yKu3Lkneq2BAQAAAgWs5BA (envelope-from ) for ; Mon, 24 May 2021 19:11:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8GJkKkneq2DkKAAAB5/wlQ (envelope-from ) for ; Mon, 24 May 2021 17:11:37 +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 234D421B77 for ; Mon, 24 May 2021 19:11:37 +0200 (CEST) Received: from localhost ([::1]:42138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llE76-0003vE-1l for larch@yhetil.org; Mon, 24 May 2021 13:11:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llBw2-0005UA-VI for bug-guix@gnu.org; Mon, 24 May 2021 10:52:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60342) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1llBw2-0001Ev-N6 for bug-guix@gnu.org; Mon, 24 May 2021 10:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1llBw2-0005Y2-Lv for bug-guix@gnu.org; Mon, 24 May 2021 10:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#30093: what manual workaround? References: Resent-From: tomas.almeida@astrolabium.io Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 24 May 2021 14:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30093 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "Carlo Zancanaro" X-Debbugs-Original-Cc: andre.gomes@astrolabium.io, 30093@debbugs.gnu.org, bug-guix@gnu.org Received: via spool by 30093-submit@debbugs.gnu.org id=B30093.162186786821252 (code B ref 30093); Mon, 24 May 2021 14:52:02 +0000 Received: (at 30093) by debbugs.gnu.org; 24 May 2021 14:51:08 +0000 Received: from localhost ([127.0.0.1]:43654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llBv9-0005Wc-EE for submit@debbugs.gnu.org; Mon, 24 May 2021 10:51:08 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:56295) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ll7qa-0004gX-AK for 30093@debbugs.gnu.org; Mon, 24 May 2021 06:30:10 -0400 Received: (Authenticated sender: tomas.almeida@astrolabium.io) by relay3-d.mail.gandi.net (Postfix) with ESMTPA id F186460006; Mon, 24 May 2021 10:30:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=astrolabium.io; s=gm1; t=1621852201; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to; bh=EWVsJpoa3jv64LwiJlvlKqz37lg9HonDW0XxGiLDwzI=; b=ml8JSJwkfkFX05Aqi5mINbBoUw48mCo2lopmsyiX/x+js48DV6XAnYVl3xKx3aZHkWiZ8t 3Xn6waEZkpJ1NgVL2NPzyAP7P0nBZLqFzszj14yedmP0PvwZgOhMuZUyItkLbO8XPX/iVw /zWf6IRBP/JIyQ60PQViN0ebz8luLx+31rDha/emmeckvqCa+eLsSo1Sze10WdKqElMWGe bTNEmZHU/hUf82BsmFSIokJ+lh/vlJY4Qf7NS0nXtMXuhmgki8rI4ir6NeiQVXLQUKSFRF rcIkjl+bFEbnqwFJYz2hhXEOPn3GLQRpomKrQpX/HZMjY1tc5yEOIIwtf7VCBQ== From: tomas.almeida@astrolabium.io In-Reply-To: <87bl91htor.fsf@zancanaro.id.au> Content-Type: multipart/alternative; boundary="----=_=-_OpenGroupware_org_NGMime-21894-1621852200.105025-97------" X-Forward: 127.0.0.1 Date: Mon, 24 May 2021 12:30:00 +0200 MIME-Version: 1.0 Message-ID: <5586-60ab8000-f1-6eced080@82736962> User-Agent: SOGoMail 5.1.0 X-Mailman-Approved-At: Mon, 24 May 2021 10:51:03 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 24 May 2021 12:52:30 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 30093@debbugs.gnu.org, andre.gomes@astrolabium.io Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621876297; 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: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=EWVsJpoa3jv64LwiJlvlKqz37lg9HonDW0XxGiLDwzI=; b=msXQuXeU9jZ3fYX3Yme6AmagH0PnFsrqE8btMdbp4JjhN2Eu2zyrzl65jLOjBMQgiEQXvE oVeZ87gnu1A0UCJFop222igbRW/dEl1eUlAEGz85pRmXPHbtB2rIQWv6vae0AwF+EByfmk /RQDHaTKLcgS/5d7gGBAPQ5eJ6fXHPNSLg96zWrQ5bufl86961IpC+2y1gc72LAA1RMKJm nSKWXkrIonor9evjfYq6L17wDsS4FrqNkTe3Rtxu9QpYv2AmCy9zsInmWdNbq4G9QkrBlh g5dvW3GNtUZ/PPrPjEGfJcAFIe13l2TODhPzsAxc6e6ePfrv1EsoIwca++qEsg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621876297; a=rsa-sha256; cv=none; b=Q1NR8NXCIFgeehPe+flkt/JyMILtgVs2cQ4c/uRWChE/Y5Pj0GtJhkBS+M1I5XV/9nvwko YtxkJc66DJgtmh46mWEIlnq89+ZXvQ/NBUrWYQWCGKwi3iP/ZLtFCU9BjdDOxOaBJP6NOV KC7cFpJBh2bmCZmTqqQTGjYDFwbuU1KNn8ep0Z3qNDgzEX8MrB7TCTca6bjKntlpyP84J0 hzP1ataITau5VCHIlRQZE2g3QQAxWX9bcRgMBrhHBEgZXZLWOGuDWe6+vy8iitz4xz/CbT E6PVh8PUdrplhQvnPi3Sy9c4olYAalYZJiWZ/KQIYjdRXB3RgM7BdhTuGwp2eA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=astrolabium.io header.s=gm1 header.b=ml8JSJwk; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: 1.07 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=astrolabium.io header.s=gm1 header.b=ml8JSJwk; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 234D421B77 X-Spam-Score: 1.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: HJD+YYTEUOLE ------=_=-_OpenGroupware_org_NGMime-21894-1621852200.105025-97------ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Length: 1607 Hi Carlo, Thank you for your answer, but unfortunately I wasn't yet able to solve= the situation with your advice, maybe I'm misinterpreting something. A small clarification first: the "/etc/profile.d/guix.sh" script=C2=A0 = installed by the Guix installation script; what I shared in my previous= email is exactly as it was installed, so it wasn't myself who modified= guix.sh or created those lines. With the vanilla "/etc/profile.d/guix.sh" script (the one I shared), an= d after installing ipython with guix, here is the result of echoing my = XDG=5FDATA=5FDIRS after a reboot, when I log in through a tty (since Gn= ome breaks and I can't log in there, as discussed): /home/tomplaa/.guix-profile/share:/home/tomplaa/.guix-profile/share:/us= r/local/share/:/usr/share/:/var/lib/snapd/desktopNotice that "/home/tom= plaa/.guix-profile/share" is repeated, and this is the reason why I pre= viously had written that the last lines in "/etc/profile.d/guix.sh" see= med superfluous to me, because they were appending something that was a= lready there after sourcing the guix profile. Regarding your suggestion, I tried the following things, all unsuccessf= ul: * modified "/etc/profile.d/guix.sh" with your suggested lines as th= e beginning of the script; * modified "/etc/profile" with your suggeste= d lines at the beginning of the script; * created a new script "/etc/pr= ofile.d/a0.sh" with those lines, so that it would be the first script t= o be read by the iteration routine called inside "/etc/profile".Is ther= e anything else I should be trying here? Thanks! Tom=C3=A1s ------=_=-_OpenGroupware_org_NGMime-21894-1621852200.105025-97------ Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Length: 1742 Hi Carlo,

Thank you for your answer, but unfortunately= I wasn't yet able to solve the situation with your advice, maybe I'm m= isinterpreting something.

A small clarification first: the "= /etc/profile.d/guix.sh" script  installed by the Guix installation= script; what I shared in my previous email is exactly as it was instal= led, so it wasn't myself who modified guix.sh or created those lines.With the vanilla "/etc/profile.d/guix.sh" script (the one I shared)= , and after installing ipython with guix, here is the result of echoing= my XDG=5FDATA=5FDIRS after a reboot, when I log in through a tty (sinc= e Gnome breaks and I can't log in there, as discussed):

/= home/tomplaa/.guix-profile/share:/home/tomplaa/.guix-profile/share:/usr= /local/share/:/usr/share/:/var/lib/snapd/desktop

Notice= that "/home/tomplaa/.guix-profile/share" is repeated, and this is the = reason why I previously had written that the last lines in "/etc/profil= e.d/guix.sh" seemed superfluous to me, because they were appending some= thing that was already there after sourcing the guix profile.

Regarding your suggestion, I tried the following things, all unsucces= sful:
  1. modified "/etc/profile.d/guix.sh" with your suggested line= s as the beginning of the script;
  2. modified "/etc/profile" with = your suggested lines at the beginning of the script;
  3. created a = new script "/etc/profile.d/a0.sh" with those lines, so that it would be= the first script to be read by the iteration routine called inside "/e= tc/profile".
Is there anything else I should be trying here?
Thanks!
Tom=C3=A1s ------=_=-_OpenGroupware_org_NGMime-21894-1621852200.105025-97--------