diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-25T16·57+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-25T16·57+0100 |
commit | 00b2c05749f9777a91543cad9ecafb0981389be6 (patch) | |
tree | fa6695c60ad5c4a53b3ba5e7328fdd3eb2483467 /src/nix-instantiate/local.mk | |
parent | 24a8f9e27bfe63d83cc7ef47c6f133904567d44e (diff) |
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.
Diffstat (limited to 'src/nix-instantiate/local.mk')
0 files changed, 0 insertions, 0 deletions