57b9505731
The package list is now cached in ~/.cache/nix/package-search.json. This gives a substantial speedup to "nix search" queries. For example (on an SSD): First run: (no package search cache, cold page cache) $ time nix search blender Attribute name: nixpkgs.blender Package name: blender Version: 2.78c Description: 3D Creation/Animation/Publishing System real 0m6.516s Second run: (package search cache populated) $ time nix search blender Attribute name: nixpkgs.blender Package name: blender Version: 2.78c Description: 3D Creation/Animation/Publishing System real 0m0.143s |
||
---|---|---|
.. | ||
build.cc | ||
cat.cc | ||
command.cc | ||
command.hh | ||
copy.cc | ||
dump-path.cc | ||
edit.cc | ||
eval.cc | ||
hash.cc | ||
installables.cc | ||
legacy.cc | ||
legacy.hh | ||
local.mk | ||
log.cc | ||
ls.cc | ||
main.cc | ||
path-info.cc | ||
progress-bar.cc | ||
progress-bar.hh | ||
repl.cc | ||
run.cc | ||
search.cc | ||
show-config.cc | ||
sigs.cc | ||
verify.cc |