1ca880a228
Chromium Flatpak package uses flatpak-spawn command for sandboxing the child processes. The command comes from flatpak-xdg-utils, which is presumably included in Flatpak runtimes. The command then calls Spawn method of the portal. The portal supports running commands in a clear environment when passed FLATPAK_SPAWN_FLAGS_CLEAR_ENV flag. Unfortunately, that also clears PATH, which is probably what prevents `flatpak` command itself from being found. There is a relevant TODO note in the code: https://github.com/flatpak/flatpak/blob/1.10.2/portal/flatpak-portal.c#L995-L999 For now, let’s hardcode the path to the binary. |
||
---|---|---|
.. | ||
bubblewrap-paths.patch | ||
default.nix | ||
fix-paths.patch | ||
fix-test-paths.patch | ||
respect-xml-catalog-files-var.patch | ||
unset-env-vars.patch | ||
use-flatpak-from-path.patch | ||
validate-icon-pixbuf.patch |