From 67a7eaa13dcd33c61ff0ec71b1f5e38c65f439ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 23 Mar 2023 15:38:10 +0100 Subject: [PATCH] doc: Properly document 'replace' clause of 'modify-inputs'. * doc/guix.texi (Defining Package Variants): Add 'replace' to the reference of 'modify-inputs' clauses. --- doc/guix.texi | 3 +++ 1 file changed, 3 insertions(+) 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