Hello,
Am Sun, Feb 23, 2025 at 04:30:34PM +0100 schrieb Ludovic Courtès:
> So you can run:
> guix build --dependents python-django-cache-url
> or:
> guix build -P1 python-django-cache-url
that "--dependents" and "-P" behave differently is somewhat confusing
and not really explained in the documentation. My first trial was to run
something like
guix build -P python-django-cache-url
and expect it to build all its dependents. When I realised it did not
work, I concluded that the depth was mandatory.
Maybe the first paragraph "Build the dependents (...) and so on"
could be replaced by this:
Build the dependents of the following package. With @code{-P},
the @var{depth} argument is mandatory and limits to dependents at that
distance: 1 for direct dependents, 2 for dependents of dependents,
and so on. With @code{--dependents}, the @var{depth} argument is
optional; in its absence, all direct and indirect dependents are built.
Andreas