From d69b35ee70543a98d1ce7c79e1ab970eb0eca5d2 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 9 Apr 2014 17:16:02 +0200 Subject: system: Initialize $PATH before starting dmd services. * gnu/services/dmd.scm (dmd-configuration-file): Call 'setenv' before starting services. --- gnu/services/dmd.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gnu/services/dmd.scm') diff --git a/gnu/services/dmd.scm b/gnu/services/dmd.scm index 48e8d5534f..54fb5cbfd6 100644 --- a/gnu/services/dmd.scm +++ b/gnu/services/dmd.scm @@ -69,6 +69,9 @@ ETC (the name of a directory in the store) on startup." (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)))) -- cgit 1.4.1