* gnu/services/xorg.scm (xinitrc)[builder]: Pass SESSION to ~/.xsession.
---
 gnu/services/xorg.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
index ae3a9ad..728544b 100644
--- a/gnu/services/xorg.scm
+++ b/gnu/services/xorg.scm
@@ -175,7 +175,7 @@ which should be passed to this script as the first 
argument.  If not, the
                           (_     #$fallback-session))))
           (if (file-exists? xsession-file)
               ;; Run ~/.xsession when it exists.
-              (exec-from-login-shell xsession-file)
+              (exec-from-login-shell xsession-file session)
               ;; Otherwise, start the specified session.
               (exec-from-login-shell session)))))
   (gexp->script "xinitrc" builder))
-- 
2.2.1


Reply via email to