nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1diff --git a/gnome-session/leader-main.c b/gnome-session/leader-main.c
2index 511166d6..8bac2912 100644
3--- a/gnome-session/leader-main.c
4+++ b/gnome-session/leader-main.c
5@@ -92,6 +92,9 @@ maybe_reexec_with_login_shell (GStrv argv)
6
7 g_debug ("Relaunching with login shell %s (%s)", login_shell, shell);
8
9+ /* Make sure the shell actually sets up the environment */
10+ g_unsetenv ("__NIXOS_SET_ENVIRONMENT_DONE");
11+
12 /* First, we construct the command executed by the login shell */
13 builder = g_strv_builder_new ();
14 g_strv_builder_add (builder, "exec");