nixpkgs/pkgs/development/libraries/flatpak
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
..
bubblewrap-paths.patch flatpak: 1.2.4 -> 1.4.2 2019-08-18 04:23:17 -04:00
default.nix flatpak: fix flatpak-spawn --clear-env 2021-04-06 19:16:34 +02:00
fix-paths.patch flatpak: use correct p11-kit output 2020-02-18 12:48:04 -05:00
fix-test-paths.patch flatpak: 1.6.3 → 1.8.1 2020-07-24 19:38:51 +02:00
respect-xml-catalog-files-var.patch flatpak: 1.2.4 -> 1.4.2 2019-08-18 04:23:17 -04:00
unset-env-vars.patch flatpak: 1.2.4 -> 1.4.2 2019-08-18 04:23:17 -04:00
use-flatpak-from-path.patch flatpak: 1.4.2 → 1.6.1 2020-02-10 12:55:25 -05:00
validate-icon-pixbuf.patch flatpak: 1.2.4 -> 1.4.2 2019-08-18 04:23:17 -04:00