2003-07-28 15:19:23 +03:00
|
|
|
nix [OPTIONS...] [ARGUMENTS...]
|
|
|
|
|
|
|
|
Operations:
|
|
|
|
|
2003-10-07 15:27:49 +03:00
|
|
|
--install / -i: 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-07-29 17:28:17 +03:00
|
|
|
--requisites / -r: print all paths necessary to realise expression
|
2003-07-28 15:19:23 +03:00
|
|
|
--generators / -g: find expressions producing a subset of given ids
|
|
|
|
--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
|