lix/src
Eelco Dolstra 57b9505731
nix search: Add a cache
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
2017-07-26 17:29:10 +02:00
..
boost Shut up some warnings 2017-04-14 14:42:20 +02:00
build-remote Replace a few bool flags with enums 2017-07-03 11:38:08 +02:00
buildenv Fix Fedora build 2016-08-30 13:56:22 +02:00
libexpr nix-build/nix-shell: Eliminate call to nix-instantiate / nix-store 2017-07-26 17:29:09 +02:00
libmain nix-build/nix-shell: Eliminate call to nix-instantiate / nix-store 2017-07-26 17:29:09 +02:00
libstore FD_SETSIZE check: BuildError -> Error 2017-07-20 13:33:13 +02:00
libutil nix search: Add a cache 2017-07-26 17:29:10 +02:00
linenoise Replace readline by linenoise 2017-05-10 18:37:42 +02:00
nix nix search: Add a cache 2017-07-26 17:29:10 +02:00
nix-build nix-build/nix-shell: Eliminate call to nix-instantiate / nix-store 2017-07-26 17:29:09 +02:00
nix-channel Improve progress indicator 2017-05-16 16:09:57 +02:00
nix-collect-garbage printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
nix-copy-closure Replace a few bool flags with enums 2017-07-03 11:38:08 +02:00
nix-daemon Support base-64 hashes 2017-07-04 15:07:41 +02:00
nix-env Add "nix search" command 2017-07-20 13:33:13 +02:00
nix-instantiate nix-build/nix-shell: Eliminate call to nix-instantiate / nix-store 2017-07-26 17:29:09 +02:00
nix-prefetch-url Support base-64 hashes 2017-07-04 15:07:41 +02:00
nix-store Support base-64 hashes 2017-07-04 15:07:41 +02:00
resolve-system-dependencies resolve-system-dependencies: Misc fixes 2017-05-31 16:10:10 +02:00