gnu: dmd: Avoid "already exists" error on startup.
* gnu/system/dmd.scm (dmd-configuration-file)[config]: Remove "/var/nix/gcroots/etc-directory" before trying to recreate it.
This commit is contained in:
parent
033adfe7e0
commit
13ce0e3aa7
|
@ -305,6 +305,7 @@ ETC on startup."
|
|||
(not (member file '("." ".."))))))
|
||||
|
||||
;; Prevent ETC from being GC'd.
|
||||
(rm-f "/var/nix/gcroots/etc-directory")
|
||||
(symlink ,etc "/var/nix/gcroots/etc-directory"))
|
||||
|
||||
(format #t "starting services...~%")
|
||||
|
|
Loading…
Reference in New Issue