HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e4e01e
)
system: Initialize $PATH before starting dmd services.
author
Ludovic Courtès
<ludo@gnu.org>
Wed, 9 Apr 2014 15:16:02 +0000
(17:16 +0200)
committer
Ludovic Courtès
<ludo@gnu.org>
Wed, 9 Apr 2014 15:16:02 +0000
(17:16 +0200)
* gnu/services/dmd.scm (dmd-configuration-file): Call 'setenv' before
starting services.
gnu/services/dmd.scm
patch
|
blob
|
blame
|
history
diff --git
a/gnu/services/dmd.scm
b/gnu/services/dmd.scm
index
48e8d55
..
54fb5cb
100644
(file)
--- 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))))