mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
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:
parent
033adfe7e0
commit
13ce0e3aa7
1 changed files with 1 additions and 0 deletions
|
@ -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...~%")
|
||||
|
|
Loading…
Reference in a new issue