From: Carlo Zancanaro <carlo@zancanaro.id.au>
To: "tomas.almeida@astrolabium.io" <tomas.almeida@astrolabium.io>
Cc: 30093@debbugs.gnu.org, andre.gomes@astrolabium.io
Subject: bug#30093: what manual workaround?
Date: Mon, 24 May 2021 10:16:52 +1000 [thread overview]
Message-ID: <87bl91htor.fsf@zancanaro.id.au> (raw)
In-Reply-To: <4557-60a53980-3e3-412dc980@34221159>
Hi Tomás,
I'm not certain what your problem is, but I've run into problems
with XDG_DATA_DIRS in the past, and I've added these lines in my
profile script *before* sourcing any Guix profiles:
# XDG_DATA_DIRS often starts off empty, but an empty value is
# interpreted as this value. Loading a profile can set it,
though,
# which effectively ignores the default value. We want it to
# instead add to the default, so we set it here to the default
# value.
if [ -z "$XDG_DATA_DIRS" ]; then
export XDG_DATA_DIRS="/usr/local/share/:/usr/share/"
fi
I see you have this line in your profile script:
> export
> XDG_DATA_DIRS="$GUIX_PROFILE/share:${XDG_DATA_DIRS:-/usr/local/share/:/usr/share/}"
but you call this *after* sourcing the Guix profiles, which means
if Guix sets XDG_DATA_DIRS then the fallback case (i.e. including
/usr/local/share and /usr/share) won't have any effect, and the
default paths (which Ubuntu expects) won't end up in the path.
I'm not as familiar with GI_TYPELIB_PATH, but I think it might
need something similar with a default value of
/usr/lib/girepository-1.0 (that's mostly a guess, based on a quick
search of the internet and my local Ubuntu machine).
I hope that helps!
Carlo
next prev parent reply other threads:[~2021-05-24 0:17 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 [this message]
2021-05-24 10:30 ` tomas.almeida
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bl91htor.fsf@zancanaro.id.au \
--to=carlo@zancanaro.id.au \
--cc=30093@debbugs.gnu.org \
--cc=andre.gomes@astrolabium.io \
--cc=tomas.almeida@astrolabium.io \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).