Edit: See the comments in https://github.com/NixOS/nixpkgs/pull/276060 for background I guess, in the original issue we want to append some paths to GI_TYPELIB_PATH in /etc/profiles but when checking imports.gi.GIRepository.Repository.get_search_path() in Melange we found that this does not work, the issue only seems to happen with the combination of GDM + Cinnamon Wayland so far (this GDM issue).
Users expect their shell profiles to get sourced at startup, which doesn't happen with wayland sessions.
This commit brings back that feature, by making the cinnamon-session wrapper script run a login shell.
ref: https://gitlab.gnome.org/GNOME/gnome-session/-/commit/7e307f8ddb91db5d4051c4c792519a660ba67f35
Edit: See the comments in https://github.com/NixOS/nixpkgs/pull/276060 for background I guess, in the original issue we want to append some paths to
GI_TYPELIB_PATH
in/etc/profiles
but when checkingimports.gi.GIRepository.Repository.get_search_path()
in Melange we found that this does not work, the issue only seems to happen with the combination of GDM + Cinnamon Wayland so far (this GDM issue).