From: Nikolaos Chatzikonstantinou <nchatz314@gmail.com>
To: konrad.hinsen@fastmail.net, guix-devel@gnu.org
Subject: Re: Finding the store path of a package
Date: Mon, 22 Apr 2024 19:58:46 -0400 [thread overview]
Message-ID: <CAAQmekdKUmzE1-gFHPTzVva0fV9TrM-RoG_tzhe+urRA6xf7jA@mail.gmail.com> (raw)
>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
next reply other threads:[~2024-05-04 17:54 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-22 23:58 Nikolaos Chatzikonstantinou [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-03-17 17:55 Finding the store path of a package Konrad Hinsen
2021-03-17 18:27 ` zimoun
2021-03-18 8:43 ` Konrad Hinsen
2021-03-18 10:45 ` Konrad Hinsen
2021-03-18 12:04 ` zimoun
2021-03-20 13:46 ` Ludovic Courtès
2021-03-22 7:39 ` Konrad Hinsen
2021-03-22 10:03 ` zimoun
2021-03-22 13:12 ` Konrad Hinsen
2021-03-22 16:22 ` Ludovic Courtès
2021-03-22 17:58 ` Konrad Hinsen
2021-04-19 7:08 ` Konrad Hinsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAAQmekdKUmzE1-gFHPTzVva0fV9TrM-RoG_tzhe+urRA6xf7jA@mail.gmail.com \
--to=nchatz314@gmail.com \
--cc=guix-devel@gnu.org \
--cc=konrad.hinsen@fastmail.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.