aboutsummaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorVivien Kraus <vivien@planete-kraus.eu>2022-11-05 12:59:01 +0100
committerChristopher Baines <mail@cbaines.net>2022-11-21 14:25:13 +0000
commit9283c80e604324f5449b5a8daf94285cdc6a8604 (patch)
tree8be8be7173c9baebf50623f57f4354bcbf6447ce /guix
parent4d05c5fa57fe768e4d2ed760fa3aee05d72becb5 (diff)
downloadguix-9283c80e604324f5449b5a8daf94285cdc6a8604.tar
guix-9283c80e604324f5449b5a8daf94285cdc6a8604.tar.gz
guix: modify-input: Recommend prepend instead of append.
* doc/guix.texi (Defining Package Variants): Document the "prepend" clause of modify-inputs first. * guix/packages.scm (modify-inputs): use "prepend" in the docstring. Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'guix')
-rw-r--r--guix/packages.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/guix/packages.scm b/guix/packages.scm
index 704b4ee710..502df7fdd1 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -1176,9 +1176,9 @@ inputs of Coreutils and adds libcap:
(modify-inputs (package-inputs coreutils)
(delete \"gmp\" \"acl\")
- (append libcap))
+ (prepend libcap))
-Other types of clauses include 'prepend' and 'replace'.
+Other types of clauses include 'append' and 'replace'.
The first argument must be a labeled input list; the result is also a labeled
input list."