Skip to content
Snippets Groups Projects
Commit 13ce0e3a authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

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.
parent 033adfe7
No related branches found
No related tags found
No related merge requests found
......@@ -305,6 +305,7 @@ (define config
(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...~%")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment