summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/system/dmd.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/system/dmd.scm b/gnu/system/dmd.scm
index aec7d03759..307412a5d5 100644
--- a/gnu/system/dmd.scm
+++ b/gnu/system/dmd.scm
@@ -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...~%")