aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/xorg.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-07-07 23:58:02 +0200
committerLudovic Courtès <ludo@gnu.org>2014-07-08 00:12:31 +0200
commit1c6b445b40dd693e9c2741942156258a89ebdb8b (patch)
tree46fa35abb87311511416389e8eee74109dffef11 /gnu/services/xorg.scm
parentb3342b545a0147e2b501a94179cea6257fbe5213 (diff)
downloadguix-1c6b445b40dd693e9c2741942156258a89ebdb8b.tar
guix-1c6b445b40dd693e9c2741942156258a89ebdb8b.tar.gz
services: Update to use the dmd 0.2 API.
* gnu/services/avahi.scm (avahi-service)[start]: Wrap command in a list. * gnu/services/dbus.scm (dbus-service)[start]: Likewise. * gnu/services/ssh.scm (lsh-service): Likewise. * gnu/services/base.scm (mingetty-service)[start]: Likewise. (nscd-service)[start]: Likewise. (syslog-service)[start]: Likewise. (guix-service)[start]: Likewise. (udev-service)[start]: Use 'exec-command' instead of 'execl'. * gnu/services/xorg.scm (slim-service)[start]: Likewise, and use #:environment-variables.
Diffstat (limited to 'gnu/services/xorg.scm')
-rw-r--r--gnu/services/xorg.scm7
1 files changed, 3 insertions, 4 deletions
diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm
index 7215297f69..5eae4a87d8 100644
--- a/gnu/services/xorg.scm
+++ b/gnu/services/xorg.scm
@@ -163,11 +163,10 @@ reboot_cmd " dmd "/sbin/reboot
(provision '(xorg-server))
(requirement '(user-processes host-name))
(start
- ;; XXX: Work around the inability to specify env. vars. directly.
#~(make-forkexec-constructor
- (string-append #$bash "/bin/sh") "-c"
- (string-append "SLIM_CFGFILE=" #$slim.cfg
- " " #$slim "/bin/slim" " -nodaemon")))
+ (list (string-append #$slim "/bin/slim") "-nodaemon")
+ #:environment-variables
+ (list (string-append "SLIM_CFGFILE=" #$slim.cfg))))
(stop #~(make-kill-destructor))
(respawn? #t)
(pam-services