doc: Explain why '--without-tests' may fail with modified 'check' phase.

* doc/guix.texi (Package Transformation Options): Explain.
This commit is contained in:
Florian Pelz 2020-10-02 21:59:38 +02:00
parent d6a8f0a978
commit 3c01fcc1bb
No known key found for this signature in database
GPG key ID: 300888CB39C63817

View file

@ -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