forked from lix-project/lix
06c77bf7a8
* Re-enable `nix-store --query --requisites'.
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
nix-store [OPTIONS...] [ARGUMENTS...]
|
|
|
|
`nix-store' is a tool to manipulate the Nix store.
|
|
|
|
Operations:
|
|
|
|
--build / -b: build a Nix derivation
|
|
--add / -A: copy a path to the Nix store
|
|
--query / -q: query information
|
|
|
|
--substitute: register a substitute expression (dangerous!)
|
|
--clear-substitutes: clear all substitutes
|
|
--validpath: register path validity (dangerous!)
|
|
--isvalid: check path validity
|
|
|
|
--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:
|
|
|
|
--outputs: query the output paths of a Nix derivation (default)
|
|
--requisites / -R: print all paths necessary to realise a path
|
|
--references: print all paths referenced by the given path
|
|
--referers: print all paths refering to the given path
|
|
--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
|