diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-07-24 20:38:56 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-12-03 23:22:22 +0100 |
commit | ea2062a2d9144d78588675950fc04756f0d200a5 (patch) | |
tree | 3727b9b8b07b12c2375574c9101bf79bce6fcd3a /src/nix/ls.cc | |
parent | a1cd805cba7a4408e75779bc4099f92e81fd6ac7 (diff) |
Move most store-related commands to 'nix store'
Diffstat (limited to 'src/nix/ls.cc')
-rw-r--r-- | src/nix/ls.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nix/ls.cc b/src/nix/ls.cc index d5fec4d84..1f5ed6913 100644 --- a/src/nix/ls.cc +++ b/src/nix/ls.cc @@ -97,7 +97,7 @@ struct CmdLsStore : StoreCommand, MixLs return { Example{ "To list the contents of a store path in a binary cache:", - "nix ls-store --store https://cache.nixos.org/ -lR /nix/store/0i2jd68mp5g6h2sa5k9c85rb80sn8hi9-hello-2.10" + "nix store ls --store https://cache.nixos.org/ -lR /nix/store/0i2jd68mp5g6h2sa5k9c85rb80sn8hi9-hello-2.10" }, }; } @@ -107,8 +107,6 @@ struct CmdLsStore : StoreCommand, MixLs return "show information about a path in the Nix store"; } - Category category() override { return catUtility; } - void run(ref<Store> store) override { list(store->getFSAccessor()); |