3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/gnome-3/core/gnome-session
Tor Hedin Brønner d54bfa8f41 gnome3.gnome-session: prevent crash when launching wayland sessions
gnome-session inherits GDMS PATH, which is at the moment non-functional. In X11
this didn't matter as the `Xsession` wrapper would populate the environment
beforehand. Wayland sessions doesn't source `Xesssion` (duh), so we patch
`bin/gnome-session` to use absolute paths for `grep` and `bash`.

In addition `bin/gnome-session` is a simple wrapper around
`libexec/gnome-session-binary` mostly responsible for sourcing the users profile
before launching the binary. This made our wrapping of `bin/gnome-session`
ineffective on wayland as the profile would reset the environment. Simply wrap
`libexec/gnome-session-binary` instead.
2018-12-10 10:27:00 +01:00
..
default.nix gnome3.gnome-session: prevent crash when launching wayland sessions 2018-12-10 10:27:00 +01:00
fix-paths.patch gnome3.gnome-session: prevent crash when launching wayland sessions 2018-12-10 10:27:00 +01:00