[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Finding the store path of a package
From: |
Nikolaos Chatzikonstantinou |
Subject: |
Re: Finding the store path of a package |
Date: |
Mon, 22 Apr 2024 19:58:46 -0400 |
>Ludovic Courtès wrote:
>> Yes. In the presence of grafts, run “guix build PKG”. That always
>> gives you the store file name of PKG, 100% reliable!
>At the cost of a few hours of CPU time, in the worst case.
>> I regularly do things like:
>>
>> ls $(guix build PKG)/bin
>> find $(guix build PKG) -name …
>What I am looking for is the equivalent of
> ls $(guix build PKG)
>that fails in whatever way for packages that are not in the store, but
>guarantees (1) not adding anything to the store and (2) response times
>short enough for interactive user interfaces.
You can also try guix size $PKG.
Regards,
Nikolaos Chatzikonstantinou
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Finding the store path of a package,
Nikolaos Chatzikonstantinou <=