summary refs log tree commit diff
path: root/gnu/system/dmd.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/system/dmd.scm')
-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...~%")