[gnome-builder] foundry: dont override environment that breaks flatpak
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] foundry: dont override environment that breaks flatpak
- Date: Wed, 24 Mar 2021 19:42:25 +0000 (UTC)
commit bef5626b23357df124dd995b74cc8f8184125e6e
Author: Christian Hergert <chergert redhat com>
Date: Wed Mar 24 12:42:12 2021 -0700
foundry: dont override environment that breaks flatpak
We need these untouched so that running a Flatpak app still works. This
stuff is all incredibly tricky to get right at the different layers. It's
almost as if we need a better abstraction for these things.
src/libide/foundry/ide-run-manager.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/libide/foundry/ide-run-manager.c b/src/libide/foundry/ide-run-manager.c
index 7782dcde0..0a4f07de2 100644
--- a/src/libide/foundry/ide-run-manager.c
+++ b/src/libide/foundry/ide-run-manager.c
@@ -441,9 +441,12 @@ copy_builtin_envvars (IdeEnvironment *environment)
"WAYLAND_DISPLAY",
"XAUTHORITY",
"XDG_CURRENT_DESKTOP",
- "XDG_DATA_DIRS",
"XDG_MENU_PREFIX",
+#if 0
+ /* Can't copy these as they could mess up Flatpak */
+ "XDG_DATA_DIRS",
"XDG_RUNTIME_DIR",
+#endif
"XDG_SEAT",
"XDG_SESSION_DESKTOP",
"XDG_SESSION_ID",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]