diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-07-24 21:04:26 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-12-03 22:52:01 +0100 |
commit | a1cd805cba7a4408e75779bc4099f92e81fd6ac7 (patch) | |
tree | c2c2b3198c79349de4e5a5d21529c091c4bd4bde /src/nix/main.cc | |
parent | af373c2ece2c14ac652313a6f370dc344c85f86e (diff) |
Add 'nix nar dump-path'
This only differs from 'nix store dump-path' in that the path doesn't
need to be a store path.
Diffstat (limited to 'src/nix/main.cc')
-rw-r--r-- | src/nix/main.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix/main.cc b/src/nix/main.cc index 94f4cad3c..0002be291 100644 --- a/src/nix/main.cc +++ b/src/nix/main.cc @@ -125,6 +125,7 @@ struct NixArgs : virtual MultiCommand, virtual MixCommonArgs {"ls-store", {"store", "ls"}}, {"cat-nar", {"nar", "cat"}}, {"cat-store", {"store", "cat"}}, + {"dump-path", {"store", "dump-path"}}, }; bool aliasUsed = false; |