doc: Warn about extra-special-file usage in /etc.

* doc/guix.texi (Base Services)[extra-special-file]: Add warning regarding
files in /etc.

Change-Id: Ic45465c8712d61caeed42d7912777368e8763a1a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Tomas Volf 2024-05-09 01:13:22 +02:00 committed by Ludovic Courtès
parent 6aaff90ad6
commit 398393187c
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -19070,6 +19070,10 @@ symlink:
(extra-special-file "/usr/bin/env"
(file-append coreutils "/bin/env"))
@end lisp
This procedure is meant for @code{/bin/sh}, @code{/usr/bin/env} and
similar targets. In particular, use for targets under @code{/etc} might
not work as expected if the target is managed by Guix in other ways.
@end deffn
@defvar host-name-service-type