all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: tomas.almeida@astrolabium.io <tomas.almeida@astrolabium.io>
To: "Carlo Zancanaro" <carlo@zancanaro.id.au>
Cc: 30093@debbugs.gnu.org, andre.gomes@astrolabium.io
Subject: bug#30093: what manual  workaround?
Date: Mon, 24 May 2021 12:30:00 +0200	[thread overview]
Message-ID: <5586-60ab8000-f1-6eced080@82736962> (raw)
In-Reply-To: <87bl91htor.fsf@zancanaro.id.au>

[-- Attachment #1: Type: text/plain, Size: 1555 bytes --]


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  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), and after installing ipython with guix, here is the result of echoing my XDG_DATA_DIRS after a reboot, when I log in through a tty (since 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/desktopNotice that "/home/tomplaa/.guix-profile/share" is repeated, and this is the reason why I previously had written that the last lines in "/etc/profile.d/guix.sh" seemed superfluous to me, because they were appending something that was already there after sourcing the guix profile.

Regarding your suggestion, I tried the following things, all unsuccessful: * modified "/etc/profile.d/guix.sh" with your suggested lines as the beginning of the script; * modified "/etc/profile" with your suggested lines at the beginning of the script; * 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 "/etc/profile".Is there anything else I should be trying here?

Thanks!
Tomás

[-- Attachment #2: Type: text/html, Size: 1667 bytes --]

  reply	other threads:[~2021-05-24 17:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-12 21:32 bug#30093: Installing python-ipython breaks Gnome on Fedora Fis Trivial
2018-01-13 21:39 ` Fis Trivial
2018-01-14  0:36   ` Chris Marusich
2018-01-14 18:31     ` Fis Trivial
2018-01-14 19:01       ` Fis Trivial
2018-01-14 22:25       ` Chris Marusich
2018-01-15  0:45         ` Chris Marusich
2018-01-17 19:53           ` Fis Trivial
2020-10-04 18:25             ` Maxim Cournoyer
2021-05-19 16:14 ` bug#30093: what manual workaround? tomas.almeida
2021-05-24  0:16   ` Carlo Zancanaro
2021-05-24 10:30     ` tomas.almeida [this message]
2022-09-29  2:50   ` bug#30093: Installing python-ipython breaks Gnome on Fedora Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5586-60ab8000-f1-6eced080@82736962 \
    --to=tomas.almeida@astrolabium.io \
    --cc=30093@debbugs.gnu.org \
    --cc=andre.gomes@astrolabium.io \
    --cc=carlo@zancanaro.id.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.