diff options
Diffstat (limited to 'src/nix-store/help.txt')
-rw-r--r-- | src/nix-store/help.txt | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/nix-store/help.txt b/src/nix-store/help.txt new file mode 100644 index 000000000000..d7f977025440 --- /dev/null +++ b/src/nix-store/help.txt @@ -0,0 +1,34 @@ +nix-store [OPTIONS...] [ARGUMENTS...] + +`nix-store' is a tool to manipulate the Nix store. + +Operations: + + --realise / -r: realise a Nix expression + --delete / -d: delete paths from the Nix store + --add / -A: copy a path to the Nix store + --query / -q: query information + + --successor: register a successor expression + --substitute: register a substitute expression + + --dump: dump a path as a Nix archive + --restore: restore a path from a Nix archive + + --init: initialise the Nix database + --verify: verify Nix structures + + --version: output version information + --help: display help + +Query flags: + + --list / -l: query the output paths (roots) of a Nix expression (default) + --requisites / -R: print all paths necessary to realise expression + --predecessors: print predecessors of a Nix expression + --graph: print a dot graph rooted at given ids + +Options: + + --verbose / -v: verbose operation (may be repeated) + --keep-failed / -K: keep temporary directories of failed builds |