nixpkgs/pkgs/desktops/gnome-3
Tor Hedin Brønner f908bf2730 gnome3.gdm: Always reset the environment for new sessions
When GDM launches a new session it will inherit the user's systemd
environment (but only unset variables). If `__NIXOS_SET_ENVIRONMENT_DONE` is set
in the user's systemd environment it will prevent the environment to be set
properly or updated (eg. after having done a system rebuild).

Gnome sessions exports their environment to systemd at startup. If something
is keeping the user's systemd process alive (eg. ssh) launching a new gnome
session after logging out will result in a broken PATH. Specifically the PATH
will be inherited from GDM and never reset.

We patch GDM to never inherit `__NIXOS_SET_ENVIRONMENT_DONE` so new sessions
will always reset their base environment.

fixes https://github.com/NixOS/nixpkgs/issues/48255

For more info about the environment setup:
https://github.com/NixOS/nixpkgs/pull/45784
2018-10-16 07:09:46 +02:00
..
apps gnome3: remove versionBranch attribute 2018-10-05 02:17:19 +02:00
core gnome3.gdm: Always reset the environment for new sessions 2018-10-16 07:09:46 +02:00
devtools gnome3: remove versionBranch attribute 2018-10-05 02:17:19 +02:00
extensions Merge branch 'master' into staging-next 2018-09-04 13:06:45 +02:00
games gnome3: remove versionBranch attribute 2018-10-05 02:17:19 +02:00
misc gnome3: remove versionBranch attribute 2018-10-05 02:17:19 +02:00
default.nix gnome3: remove versionBranch attribute 2018-10-05 02:17:19 +02:00
find-latest-version.py gnome3.updateScript: ignore prerelease versions 2018-03-04 20:05:53 +01:00
installer.nix gnome3: only maintain single GNOME 3 package set (#29397) 2017-09-24 12:15:50 +01:00
update.nix gnome3: add updateScript 2018-03-01 02:53:00 +01:00