2003-11-18 11:38:25 +00:00
|
|
|
nix-store [OPTIONS...] [ARGUMENTS...]
|
|
|
|
|
|
|
|
`nix-store' is a tool to manipulate the Nix store.
|
2003-07-28 12:19:23 +00:00
|
|
|
|
|
|
|
Operations:
|
|
|
|
|
2005-01-19 14:36:00 +00:00
|
|
|
--build / -b: build a Nix derivation
|
2003-07-28 12:19:23 +00:00
|
|
|
--add / -A: copy a path to the Nix store
|
|
|
|
--query / -q: query information
|
|
|
|
|
2004-02-14 21:44:18 +00:00
|
|
|
--substitute: register a substitute expression (dangerous!)
|
2005-01-19 14:36:00 +00:00
|
|
|
--clear-substitutes: clear all substitutes
|
2004-02-14 21:44:18 +00:00
|
|
|
--validpath: register path validity (dangerous!)
|
|
|
|
--isvalid: check path validity
|
2003-07-28 12:19:23 +00:00
|
|
|
|
|
|
|
--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:
|
|
|
|
|
2005-01-19 14:36:00 +00:00
|
|
|
--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
|
2003-07-28 12:19:23 +00:00
|
|
|
--graph: print a dot graph rooted at given ids
|
|
|
|
|
|
|
|
Options:
|
|
|
|
|
|
|
|
--verbose / -v: verbose operation (may be repeated)
|
2003-08-19 09:04:47 +00:00
|
|
|
--keep-failed / -K: keep temporary directories of failed builds
|