nixpkgs/pkgs/development
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
..
androidndk-pkgs
arduino
beam-modules
bower-modules/generic
chez-modules
compilers crystal2nix: 0.1.0 -> 0.1.1 2021-03-29 18:12:25 +08:00
coq-modules coqPackages.fourcolor: init at 1.2.3 2021-03-26 10:55:48 +01:00
dhall-modules
dotnet-modules
em-modules/generic
gnuradio-modules treewide: remove redundant stdenv 2021-03-26 12:18:16 +07:00
go-modules
go-packages
guile-modules
haskell-modules
idris-modules
interpreters Merge pull request #117552 from r-ryantm/auto-update/clojure 2021-03-27 20:34:42 -07:00
java-modules
libraries flatpak: fix flatpak-spawn --clear-env 2021-04-06 19:16:34 +02:00
lisp-modules quicklispPackages: give names to all somewhat-working versions 2021-03-28 18:34:29 +02:00
lua-modules
misc
mobile
node-packages kaput-cli: init at 1.1.1 2021-03-25 10:35:12 +01:00
ocaml-modules ocamlPackages.spelll: use Dune 2 2021-03-29 22:05:45 +02:00
octave-modules
perl-modules
pharo
php-packages Merge pull request #117651 from r-ryantm/auto-update/php-pcov 2021-03-26 14:17:11 +01:00
pure-modules
python-modules python3Packages.pg8000: 1.18.0 -> 1.19.0 2021-03-29 22:13:49 -07:00
r-modules
ruby-modules Use minimal git for fetching gems 2021-03-26 17:04:37 -04:00
tools editorconfig-checker: 2.3.4 -> 2.3.5 2021-03-30 05:43:10 +10:00
web