>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
