Sorry for the late reply.
Dmitry Nikolaev <[email protected]> skribis:
> (define (my-slim-service)
> (mlet %store-monad ((config (xorg-configuration-file
> #:resolutions '((1366 768)))))
> (slim-service #:startx
> (xorg-start-command #:configuration-file config))))
The problem is in the line above: ‘xorg-start-command’ is a “monadic
procedure” so its result must be bound in an ‘mlet’:
(define (my-slim-service)
(mlet %store-monad ((config (xorg-configuration-file ...))
(startx (xorg-start-command ...)))
(slim-service #:startx startx)))
HTH!
Ludo’.
PS: Somebody reported the same thing on IRC last week, maybe it was you
or Camel?