summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFlorian Pelz <pelzflorian@pelzflorian.de>2020-10-02 21:59:38 +0200
committerFlorian Pelz <pelzflorian@pelzflorian.de>2020-10-02 20:03:55 +0000
commit3c01fcc1bb9c086f487d9694cb91a57d7abd0880 (patch)
tree944477823f2b7c6e8e81540256c108e1e9d4ce26 /doc
parentd6a8f0a9781a90c3037f25e51d7ff32e50f7a8c1 (diff)
downloadguix-patches-3c01fcc1bb9c086f487d9694cb91a57d7abd0880.tar
guix-patches-3c01fcc1bb9c086f487d9694cb91a57d7abd0880.tar.gz
doc: Explain why '--without-tests' may fail with modified 'check' phase.
* doc/guix.texi (Package Transformation Options): Explain.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 79c79b6a96..da48c8a72d 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -9350,6 +9350,12 @@ The command above installs @code{python-notebook} on top of
rebuilds everything that depends on @code{python}, including
@code{python-notebook} itself.
+Internally, @option{--without-tests} relies on changing the
+@code{#:tests?} option of a package's @code{check} phase (@pxref{Build
+Systems}). Note that some packages use a customized @code{check} phase
+that does not respect a @code{#:tests? #f} setting. Therefore,
+@option{--without-tests} has no effect on these packages.
+
@end table
@node Additional Build Options