system: Initialize $PATH before starting dmd services.

* gnu/services/dmd.scm (dmd-configuration-file): Call 'setenv' before
  starting services.
This commit is contained in:
Ludovic Courtès 2014-04-09 17:16:02 +02:00
parent 2e4e01eebf
commit d69b35ee70

View file

@ -69,6 +69,9 @@ (define config
(rm-f "/var/guix/gcroots/etc-directory")
(symlink ,etc "/var/guix/gcroots/etc-directory"))
;; guix-daemon 0.6 aborts if 'PATH' is undefined, so work around it.
(setenv "PATH" "/run/current-system/bin")
(format #t "starting services...~%")
(for-each start ',(append-map service-provision services))))