lix/src/nix
Eelco Dolstra 00b2c05749 nix: Add commands to query contents of NARs / binary caches
For example,

  $ NIX_REMOTE=file:///my-cache nix ls-store -lR /nix/store/f4kbgl8shhyy76rkk3nbxr0lz8d2ip7q-binutils-2.23.1
  dr-xr-xr-x                    0 ./bin
  -r-xr-xr-x                30748 ./bin/addr2line
  -r-xr-xr-x                66973 ./bin/ar
  ...

Similarly, "nix ls-nar" lists the contents of a NAR file, "nix
cat-nar" extracts a file from a NAR file, and "nix cat-store" extract
a file from a Nix store.
2016-02-25 17:57:00 +01:00
..
build.cc Fix build 2016-02-25 11:55:05 +01:00
cat.cc nix: Add commands to query contents of NARs / binary caches 2016-02-25 17:57:00 +01:00
command.cc Fix build 2016-02-25 11:55:05 +01:00
command.hh Start of new Nix command-line interface 2016-02-09 21:28:29 +01:00
hash.cc Fix build 2016-02-25 11:55:05 +01:00
installables.cc Add basic "nix build" command 2016-02-09 21:34:24 +01:00
installables.hh Add basic "nix build" command 2016-02-09 21:34:24 +01:00
legacy.cc Start of new Nix command-line interface 2016-02-09 21:28:29 +01:00
legacy.hh Start of new Nix command-line interface 2016-02-09 21:28:29 +01:00
local.mk Start of new Nix command-line interface 2016-02-09 21:28:29 +01:00
ls.cc nix: Add commands to query contents of NARs / binary caches 2016-02-25 17:57:00 +01:00
main.cc Start of new Nix command-line interface 2016-02-09 21:28:29 +01:00