Ludovic Courtès writes: > It first tries ‘query-path-info’, which succeeds if the store item is > available and contains info about its size, references, and so on. > > When ‘query-path-info’ fails, it falls back to > ‘query-substitutable-path-info’, which allows it to obtain the same > information for substitutes. Thus, it doesn’t need to have the store > item available locally. So we could do the same with `guix filesearch`: - First try the entry in the database. - If not there, try query-path-info and if it succeeds, populate the database. - If query-path-info does not succeed, try our new query-substitutable-filesearch-info. That would work, no? -- Pierre Neidhardt https://ambrevar.xyz/