summary refs log tree commit diff
path: root/doc/guix.texi
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-03-23 15:38:10 +0100
committerLudovic Courtès <ludo@gnu.org>2023-03-26 23:24:23 +0200
commit67a7eaa13dcd33c61ff0ec71b1f5e38c65f439ad (patch)
treecbda9be0c401be3601d32be261b5502a119fe821 /doc/guix.texi
parent9ec1af39e29d0fa95d4db4b5b8ef1cf3613c5956 (diff)
downloadguix-67a7eaa13dcd33c61ff0ec71b1f5e38c65f439ad.tar.gz
doc: Properly document 'replace' clause of 'modify-inputs'.
* doc/guix.texi (Defining Package Variants): Add 'replace' to the
reference of 'modify-inputs' clauses.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r--doc/guix.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 3e335306f1..c49e51b72e 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -8210,6 +8210,9 @@ Add @var{package}s to the front of the input list.
 
 @item (append @var{package}@dots{})
 Add @var{package}s to the end of the input list.
+
+@item (replace @var{name} @var{replacement})
+Replace the package called @var{name} with @var{replacement}.
 @end table
 
 The example below removes the GMP and ACL inputs of Coreutils and adds