mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
nix search: Warn about cached results
This commit is contained in:
parent
c8235c5313
commit
9b82ecbae0
1 changed files with 2 additions and 0 deletions
|
@ -185,6 +185,8 @@ struct CmdSearch : SourceExprCommand, MixJSON
|
|||
|
||||
if (useCache && pathExists(jsonCacheFileName)) {
|
||||
|
||||
warn("using cached results; pass '-u' to update the cache");
|
||||
|
||||
Value vRoot;
|
||||
parseJSON(*state, readFile(jsonCacheFileName), vRoot);
|
||||
|
||||
|
|
Loading…
Reference in a new issue