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/dump-path.cc | |
parent | a1cd805cba7a4408e75779bc4099f92e81fd6ac7 (diff) |
Move most store-related commands to 'nix store'
Diffstat (limited to 'src/nix/dump-path.cc')
-rw-r--r-- | src/nix/dump-path.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/nix/dump-path.cc b/src/nix/dump-path.cc index 4b225ae9f..256db64a9 100644 --- a/src/nix/dump-path.cc +++ b/src/nix/dump-path.cc @@ -16,13 +16,11 @@ struct CmdDumpPath : StorePathCommand return { Example{ "To get a NAR from the binary cache https://cache.nixos.org/:", - "nix dump-path --store https://cache.nixos.org/ /nix/store/7crrmih8c52r8fbnqb933dxrsp44md93-glibc-2.25" + "nix store dump-path --store https://cache.nixos.org/ /nix/store/7crrmih8c52r8fbnqb933dxrsp44md93-glibc-2.25" }, }; } - Category category() override { return catUtility; } - void run(ref<Store> store, const StorePath & storePath) override { FdSink sink(STDOUT_FILENO); @@ -31,7 +29,6 @@ struct CmdDumpPath : StorePathCommand } }; - static auto rDumpPath = registerCommand2<CmdDumpPath>({"store", "dump-path"}); struct CmdDumpPath2 : Command |