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:
Ludovic Courtès 2013-12-09 22:02:16 +01:00
parent 033adfe7e0
commit 13ce0e3aa7
1 changed files with 1 additions and 0 deletions

View File

@ -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...~%")