lix/src/nix-instantiate/help.txt

30 lines
770 B
Plaintext
Raw Normal View History

2006-03-06 11:04:39 +00:00
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