forked from lix-project/lix
5d4171f7fb
fstate -> Nix expression). * Fix src/test.cc.
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
nix [OPTIONS...] [ARGUMENTS...]
|
|
|
|
Operations:
|
|
|
|
--install / -i: 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
|
|
|
|
Source selection for --install, --dump:
|
|
|
|
--path / -p: by file name !!! -> path
|
|
|
|
Query flags:
|
|
|
|
--list / -l: query the output paths (roots) of a Nix expression (default)
|
|
--requisites / -r: print all paths necessary to realise expression
|
|
--generators / -g: find expressions producing a subset of given ids
|
|
--expansion / -e: print a path containing id
|
|
--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
|