Subject: ‘guix locate’ method is silently ignored when a cache exists

From: Tobias Geerinckx-Rice <[email-masked]>
Date: Tue, 01 Aug 2023 23:05:12 +0200

Quick niggle I noticed:

~/guix master ↑2 λ guix locate libstdc++.so.
guix locate: indexing files from /gnu/store...
guix locate: traversing local profile manifests...
indexing 735 packages
…
~/guix master ↑29 ↓26 λ guix locate --method=store libstdc++.so.6
…
~/guix master ↑29 ↓26 λ guix locate --method=store --update 
libstdc++.so.6
guix locate: indexing files from /gnu/store...
indexing 24,455 packages
…

Either:
- the second invocation should imply --update, so Guix should store the 
currently cache method(s),
- or Guix should use separate databases for each method.  That's 
probably too ugly.

Kind regards,

T G-R

Sent from a Web browser.  Excuse or enjoy my brevity.