From 398393187cc48f449215b14cf18b13fefb228558 Mon Sep 17 00:00:00 2001 From: Tomas Volf <~@wolfsden.cz> Date: Thu, 9 May 2024 01:13:22 +0200 Subject: [PATCH] doc: Warn about extra-special-file usage in /etc. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * doc/guix.texi (Base Services)[extra-special-file]: Add warning regarding files in /etc. Change-Id: Ic45465c8712d61caeed42d7912777368e8763a1a Signed-off-by: Ludovic Courtès --- doc/guix.texi | 4 ++++ 1 file changed, 4 insertions(+) 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