summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTomas Volf <~@wolfsden.cz>2024-05-09 01:13:22 +0200
committerLudovic Courtès <ludo@gnu.org>2024-06-26 23:34:59 +0200
commit398393187cc48f449215b14cf18b13fefb228558 (patch)
treedd916f42ce69d5cc49b8151eef7da94a2ffbc60c /doc
parent6aaff90ad623232f6952fdbad1211eacfcc35219 (diff)
downloadguix-patches-398393187cc48f449215b14cf18b13fefb228558.tar
guix-patches-398393187cc48f449215b14cf18b13fefb228558.tar.gz
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>
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 9fbe890e5c..500a462bfb 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -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