summary refs log tree commit diff
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2018-12-14 23:06:06 +0100
committerPierre Neidhardt <mail@ambrevar.xyz>2018-12-14 23:32:39 +0100
commitdc56dc025df0b7ea6915ad1061f8d189d641fe35 (patch)
treee84011c570df9ba83fef5431cff3b03c6a835674
parent1e0f2ae0283949ee2237ca0e6013b54acdc2b7a6 (diff)
downloadguix-dc56dc025df0b7ea6915ad1061f8d189d641fe35.tar.gz
doc: Discourage the use of texlive as input
* doc/contributing.texi (Submitting Patches): Discourage the use of texlive as
  input.
-rw-r--r--doc/contributing.texi10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/contributing.texi b/doc/contributing.texi
index c55eb63382..9f705d27a2 100644
--- a/doc/contributing.texi
+++ b/doc/contributing.texi
@@ -477,6 +477,16 @@ often better to clone the repository.  Don't use the @command{name} field in
 the URL: it is not very useful and if the name changes, the URL will probably
 be wrong.
 
+@item
+Try to minimize the weight of the inputs to make the transitive closure as
+small as possible (@pxref{Invoking guix size}).  Use @command{native-inputs}
+and @command{inputs} appropriately.  It's sometimes sufficient to use the
+@command{-minimal} version of a package as input, e.g. @command{bash-minimal}
+instead of @command{bash}.  In particular, avoid adding @command{texlive} as a
+dependency: because of its extreme size, it's both heavy on the build farms
+and on the users who would like to build or hack the package from source.  Use
+@command{texlive-tiny} or @command{texlive-union} instead.
+
 @end enumerate
 
 When posting a patch to the mailing list, use @samp{[PATCH] @dots{}} as