nix-super/src/nix-instantiate/help.txt
Eelco Dolstra 22ba63df16 * More XML output. `--strict' to strictly evaluate attribute sets and
so on.
* Removed `--print-args', it's subsumed by `--eval-only --xml'.
2006-08-16 21:59:53 +00:00

30 lines
770 B
Text

Usage: nix-instantiate [OPTIONS...] [FILES...]
`nix-instantiate' turns Nix expressions into store derivations.
The argument `-' may be specified to read a Nix expression from
standard input.
Options:
--version: output version information
--help: display help
--verbose / -v: verbose operation (may be repeated)
--eval-only: evaluate and print resulting term; do not instantiate
--parse-only: parse and print abstract syntax tree
--attr / -A PATH: select an attribute from the top-level expression
--add-root: add garbage collector roots for the result
For --eval-only / --parse-only:
--xml: print an XML representation of the abstract syntax tree
For --eval-only:
--strict: compute attributes and list elements, rather than being
lazy