services: xorg: Fix ~/.xsession handling.
authorLudovic Courtès <ludo@gnu.org>
Thu, 24 Mar 2016 09:59:28 +0000 (10:59 +0100)
committerLudovic Courtès <ludo@gnu.org>
Thu, 24 Mar 2016 10:01:07 +0000 (11:01 +0100)
Fixes a regression introduced in c510cbb4ecb270ca3edf282c6769aa2bfb144822.

* gnu/services/xorg.scm (xinitrc)[builder]: Add missing 'apply' when
XSESSION-FILE exists.

gnu/services/xorg.scm

index e16247b..9908b95 100644 (file)
@@ -250,7 +250,7 @@ which should be passed to this script as the first argument.  If not, the
                                 ((_ x ..1) x))))
           (if (file-exists? xsession-file)
               ;; Run ~/.xsession when it exists.
-              (exec-from-login-shell xsession-file session)
+              (apply exec-from-login-shell xsession-file session)
               ;; Otherwise, start the specified session.
               (apply exec-from-login-shell session)))))