lix/src
Eelco Dolstra 542ae5c8f8 BinaryCacheStore: Optionally write a NAR listing
The store parameter "write-nar-listing=1" will cause BinaryCacheStore
to write a file ‘<store-hash>.ls.xz’ for each ‘<store-hash>.narinfo’
added to the binary cache. This file contains an XZ-compressed JSON
file describing the contents of the NAR, excluding the contents of
regular files.

E.g.

  {
    "version": 1,
    "root": {
      "type": "directory",
      "entries": {
        "lib": {
          "type": "directory",
          "entries": {
            "Mcrt1.o": {
              "type": "regular",
              "size": 1288
            },
            "Scrt1.o": {
              "type": "regular",
              "size": 3920
            },
          }
        }
      }
      ...
    }
  }

(The actual file has no indentation.)

This is intended to speed up the NixOS channels programs index
generator [1], since fetching gazillions of large NARs from
cache.nixos.org is currently a bottleneck for updating the regular
(non-small) channel.

[1] https://github.com/NixOS/nixos-channel-scripts/blob/master/generate-programs-index.cc
2016-10-21 16:50:28 +02:00
..
boost Force stack trace for boost format errors 2016-03-02 15:46:07 +01:00
buildenv Fix Fedora build 2016-08-30 13:56:22 +02:00
download-via-ssh printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
libexpr fixup! replace own regex class with std::regex 2016-10-19 16:03:53 +02:00
libmain Shut up some warnings 2016-10-12 15:53:38 +02:00
libstore BinaryCacheStore: Optionally write a NAR listing 2016-10-21 16:50:28 +02:00
libutil Merge branch 'regex' of https://github.com/groxxda/nix 2016-10-19 16:32:24 +02:00
nix printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
nix-build Fix Darwin build 2016-10-19 15:21:18 +02:00
nix-channel Enable HTTP/2 support 2016-09-14 16:36:02 +02:00
nix-collect-garbage printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
nix-daemon printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
nix-env printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
nix-instantiate Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00
nix-prefetch-url printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
nix-store printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
resolve-system-dependencies printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00