aboutsummaryrefslogtreecommitdiff
path: root/doc/contributing.texi
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2024-11-25 16:33:07 +0100
committerLudovic Courtès <ludo@gnu.org>2024-12-01 20:14:15 +0100
commit6b14eb3402034531bc7d9b70f273ca1a66e42d4b (patch)
tree0cae3246316ecbbb6beef8f123259e60d7b2d2c9 /doc/contributing.texi
parent4b5dae8defe4c0d5e98b5ce6abba853007485f23 (diff)
downloadguix-6b14eb3402034531bc7d9b70f273ca1a66e42d4b.tar.gz
guix-6b14eb3402034531bc7d9b70f273ca1a66e42d4b.zip
guix build: Add ‘--dependents’.
* guix/scripts/build.scm (show-help, %options): Add ‘--dependents’. (dependents): New procedure. (options->things-to-build): Add ‘store’ parameter; honor ‘dependents’ option. [for-type]: Handle ‘dependents’ type. (options->derivations): Update call to ‘options->things-to-build’. * tests/guix-build.sh: Add test. * doc/guix.texi (Additional Build Options): Document ‘--dependents’. (Invoking guix refresh): Cross-reference it. * doc/contributing.texi (Submitting Patches): Mention it. Change-Id: I00b6d5831e1f1d35dc8b84a82605391d5a8f417c
Diffstat (limited to 'doc/contributing.texi')
-rw-r--r--doc/contributing.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/contributing.texi b/doc/contributing.texi
index e7465fc259..6be879fa66 100644
--- a/doc/contributing.texi
+++ b/doc/contributing.texi
@@ -1915,7 +1915,9 @@ according to the project's conventions (@pxref{Invoking guix style}).
@item
Make sure the package builds on your platform, using @command{guix build
-@var{package}}.
+@var{package}}. Also build at least its direct dependents with
+@command{guix build --dependents=1 @var{package}}
+(@pxref{build-dependents, @command{guix build}}).
@item
We recommend you also try building the package on other supported