From 13ce0e3aa7c4803f35063cd1adcfa1279cc80dd5 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 9 Dec 2013 22:02:16 +0100 Subject: 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. --- gnu/system/dmd.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu') 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...~%") -- cgit v1.2.3