summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/services/dmd.scm3
1 files changed, 3 insertions, 0 deletions
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))))