3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs
Jan Tojnar 1ca880a228 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.
2021-04-06 19:16:34 +02:00
..
applications Merge pull request from ttuegel/aacgain 2021-03-29 21:12:28 -05:00
build-support
common-updater
data
desktops Merge pull request from peterhoeg/u/plasma_5_21_3 2021-03-29 16:47:38 -05:00
development flatpak: fix flatpak-spawn --clear-env 2021-04-06 19:16:34 +02:00
games pinball: init at 0.3.20201218 2021-03-29 15:05:29 +00:00
misc Merge pull request from SFrijters/wine-6.5 2021-03-29 22:08:10 -04:00
os-specific Merge pull request from TimothyKlim/master 2021-03-30 02:04:10 +02:00
pkgs-lib
servers zabbix.agent2: minor cleanup 2021-03-29 23:04:05 -04:00
shells
stdenv
test
tools vale: 2.9.1 -> 2.10.2 2021-03-30 01:32:47 -04:00
top-level rubyPackages.kramdown: 2.3.0 -> 2.3.1 2021-03-30 07:45:19 +09:00