aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2018-12-15 00:20:35 +0100
committerPierre Neidhardt <mail@ambrevar.xyz>2018-12-15 00:20:35 +0100
commit024e358cb964d785df79c6f743619aab9f823a23 (patch)
treeb9cfb894321917f8b7c05399ad9017d1bda044a2 /doc
parent966629a114fd90153784dfdbe5e332e0ac94f1bc (diff)
downloadpatches-024e358cb964d785df79c6f743619aab9f823a23.tar
patches-024e358cb964d785df79c6f743619aab9f823a23.tar.gz
doc: Merge "discourage use of texlive" with existing paragraph on "guix size"
* doc/contributing.texi (Submitting Patches): Merge "discourage use of texlive" with existing paragraph on "guix size".
Diffstat (limited to 'doc')
-rw-r--r--doc/contributing.texi14
1 files changed, 3 insertions, 11 deletions
diff --git a/doc/contributing.texi b/doc/contributing.texi
index 9f705d27a2..65b33acd87 100644
--- a/doc/contributing.texi
+++ b/doc/contributing.texi
@@ -382,7 +382,9 @@ Take a look at the profile reported by @command{guix size}
(@pxref{Invoking guix size}). This will allow you to notice references
to other packages unwillingly retained. It may also help determine
whether to split the package (@pxref{Packages with Multiple Outputs}),
-and which optional dependencies should be used.
+and which optional dependencies should be used. In particular, avoid adding
+@command{texlive} as a dependency: because of its extreme size, use
+@command{texlive-tiny} or @command{texlive-union} instead.
@item
For important changes, check that dependent package (if applicable) are
@@ -477,16 +479,6 @@ 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