summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/GitPython/hardcode-git-path.patch
diff options
context:
space:
mode:
authorTor Hedin Brønner <torhedinbronner@gmail.com>2018-10-15 09:56:36 +0200
committerTor Hedin Brønner <torhedinbronner@gmail.com>2018-10-16 07:09:46 +0200
commitf908bf27305d80fca9b4955b3a758ca5c7ab4626 (patch)
tree21d7805b066d85cc123d6b0627588499cbbb5c86 /pkgs/development/python-modules/GitPython/hardcode-git-path.patch
parent8a3a91f29b4a517c540bee42f01701762243f808 (diff)
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
Diffstat (limited to 'pkgs/development/python-modules/GitPython/hardcode-git-path.patch')
0 files changed, 0 insertions, 0 deletions