mirror of
https://github.com/NixOS/nix.git
synced 2025-11-27 20:51:00 +01:00
Finished set-up for nix-state, now: adding runtime state parameters & exclude state-identifier as input from state-hash
This commit is contained in:
parent
0a303ea2c0
commit
fbd1b78a9d
10 changed files with 120 additions and 74 deletions
|
|
@ -1,58 +1,11 @@
|
|||
Usage: nix-state [OPTIONS...] [ARGUMENTS...]
|
||||
|
||||
`nix-store' is a tool to manipulate the Nix store.
|
||||
`nix-state' is a tool to manipulate the Nix state-store and to run programs.
|
||||
|
||||
Operations:
|
||||
|
||||
--realise / -r: ensure path validity; if a derivation, ensure that
|
||||
validity of the outputs
|
||||
--add / -A: copy a path to the Nix store
|
||||
--delete: safely delete paths from the Nix store
|
||||
--query / -q: query information
|
||||
--read-log / -l: print build log of given store paths
|
||||
|
||||
--register-substitutes: register a substitute expression (dangerous!)
|
||||
--clear-substitutes: clear all substitutes
|
||||
--register-validity: register path validity (dangerous!)
|
||||
--check-validity: check path validity
|
||||
|
||||
--gc: run the garbage collector
|
||||
|
||||
--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
|
||||
--realise / -r: ensure path validity; if a derivation, ensure that validity of the outputs
|
||||
|
||||
--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
|
||||
--referrers: print all paths directly refering to the given path
|
||||
--referrers-closure: print all paths (in)directly refering to the given path
|
||||
--tree: print a tree showing the dependency graph of the given paths
|
||||
--graph: print a dot graph rooted at given paths
|
||||
|
||||
Query switches (not applicable to all queries):
|
||||
|
||||
--use-output: perform query on output of derivation, not derivation itself
|
||||
--force-realise: realise the path before performing the query
|
||||
--include-outputs: in `-R' on a derivation, include requisites of outputs
|
||||
|
||||
Garbage collector options:
|
||||
|
||||
--print-roots: print GC roots and exit
|
||||
--print-live: print live paths and exit
|
||||
--print-dead: print dead paths and exit
|
||||
--delete: delete dead paths (default)
|
||||
|
||||
Options:
|
||||
|
||||
--verbose / -v: verbose operation (may be repeated)
|
||||
--keep-failed / -K: keep temporary directories of failed builds
|
||||
|
||||
--add-root: add garbage collector roots for the result
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue