summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorLeorize <leorize+oss@disroot.org>2022-12-07 15:16:46 +0000
committerPatrick <tingping@tingping.se>2022-12-07 16:20:51 -0600
commitdf0b9d98b53b7486a0a23438a686af3e5d892cfd (patch)
treecb5a1888a27d55b2f1539671c2128f79f02e6745 /common
parent8daa975ab3e11e56b2c168dc62b30f029751dbd2 (diff)
downloadflatpak-df0b9d98b53b7486a0a23438a686af3e5d892cfd.tar.gz
flatpak-run: unset GIO_EXTRA_MODULES
This variable contains paths to load GIO modules from. For the most part, they refer to paths outside of the sandbox or if they happen to be in the sandbox, would contain modules that are incompatible with the sandbox runtime (ie. different libc). While I've not found programs that would crash outright, it may cause unexpected behaviors (eg. Apostrophe not being able to render math in preview panel). This variable is set by NixOS for its dependency boxing.
Diffstat (limited to 'common')
-rw-r--r--common/flatpak-run.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/flatpak-run.c b/common/flatpak-run.c
index a02ed96c..00574e62 100644
--- a/common/flatpak-run.c
+++ b/common/flatpak-run.c
@@ -1911,6 +1911,7 @@ static const ExportData default_exports[] = {
{"GST_INSTALL_PLUGINS_HELPER", NULL},
{"KRB5CCNAME", NULL},
{"XKB_CONFIG_ROOT", NULL},
+ {"GIO_EXTRA_MODULES", NULL},
};
static const ExportData no_ld_so_cache_exports[] = {