doc: Properly document 'replace' clause of 'modify-inputs'.

* doc/guix.texi (Defining Package Variants): Add 'replace' to the
reference of 'modify-inputs' clauses.
This commit is contained in:
Ludovic Courtès 2023-03-23 15:38:10 +01:00
parent 9ec1af39e2
commit 67a7eaa13d
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 3 additions and 0 deletions

View File

@ -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