2003-07-28 15:19:23 +03:00
|
|
|
nix [OPTIONS...] [ARGUMENTS...]
|
|
|
|
|
|
|
|
Operations:
|
|
|
|
|
2003-11-18 13:22:29 +02:00
|
|
|
--realise / -r: realise a Nix expression
|
2003-07-28 15:19:23 +03:00
|
|
|
--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:
|
|
|
|
|
2003-10-07 15:27:49 +03:00
|
|
|
--list / -l: query the output paths (roots) of a Nix expression (default)
|
2003-11-18 13:22:29 +02:00
|
|
|
--requisites / -R: print all paths necessary to realise expression
|
2003-10-10 18:25:21 +03:00
|
|
|
--predecessors: print predecessors of a Nix expression
|
2003-07-28 15:19:23 +03:00
|
|
|
--graph: print a dot graph rooted at given ids
|
|
|
|
|
|
|
|
Options:
|
|
|
|
|
|
|
|
--verbose / -v: verbose operation (may be repeated)
|
2003-08-19 12:04:47 +03:00
|
|
|
--keep-failed / -K: keep temporary directories of failed builds
|