On Thursday, February 20th, 2025 at 9:33 AM, jgart <jg...@dismail.de> wrote:

> 
> 
> [jgart@unknownee2179f0a061 guix]$ make -j6 && ./pre-inst-env guix refresh -l 
> python-django-cache-url
> 
> A single dependent package: python-django-configurations@2.4.1
> 
> Hi, when running guix build python-django-cache-url -P without an argument it 
> doesn't build python-django-configurations.

Hi,

Did you run just "guix build python-django-cache-url -P" or have you tried 
"guix build -P python-django-cache-url"? The help message for -P suggests it 
works like -D in that it only applies to the first package name following the 
flag.

> 
> This was on commit 33e7f1e6345196dc98dd3f25104ab4e1b4026233
> 
> This is one reproducible example of the problem. I've experienced this with 
> other packages that I've tried to use with the new -P flag.
> 
> WDYT
> 
> Also, why not call this flag -l instead of -P like `guix refresh -l foo`?

My guess is that for "guix refresh" the "-l" is the short form of 
"--list-dependents" made by using the first letter of the flag name, while for 
"guix build" "-P" is short for "--dependents" which does not contain an "l" and 
since both "-d" and "-D" are already used the next consonant was used (and a 
further guess that "P" was used instead of "p" to closer match --development 
instead of --derivations since the behavior and usage is closer to 
--development).

Cheers,
Kaelyn

> 
> all best,
> 
> jgart

Reply via email to