~ruther/guix-local

1eca6c36adc00d88e6f29744aa2402f2a006be04 — Ludovic Courtès 10 years ago 12422c9
services: xorg: Assume STARTX is a regular value.

* gnu/services/xorg.scm (slim-service): Expect STARTX to be a regular value,
  not a monadic value.
1 files changed, 3 insertions(+), 1 deletions(-)

M gnu/services/xorg.scm
M gnu/services/xorg.scm => gnu/services/xorg.scm +3 -1
@@ 246,7 246,9 @@ theme to use.  In that case, @var{theme-name} specifies the name of the
theme."

  (define (slim.cfg)
    (mlet %store-monad ((startx  (or startx (xorg-start-command)))
    (mlet %store-monad ((startx  (if startx
                                     (return startx)
                                     (xorg-start-command)))
                        (xinitrc (xinitrc #:fallback-session
                                          auto-login-session)))
      (text-file* "slim.cfg"  "