diff options
| author | Jan Tojnar <jtojnar@gmail.com> | 2021-03-13 18:40:46 +0100 |
|---|---|---|
| committer | Jan Tojnar <jtojnar@gmail.com> | 2021-04-06 19:16:34 +0200 |
| commit | 1ca880a2283e5510ca82068e49d417d9e6911c8c (patch) | |
| tree | 19fb17400246fb9f62449373dec51e6a67336345 /pkgs/development/python-modules/rangehttpserver | |
| parent | 04a2b269d8921505a2969fc9ec25c1f517f2b307 (diff) | |
flatpak: fix flatpak-spawn --clear-env
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.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
