2006-03-06 11:04:39 +00:00
|
|
|
Usage: nix-instantiate [OPTIONS...] [FILES...]
|
2003-12-01 15:55:05 +00:00
|
|
|
|
2005-02-01 12:36:25 +00:00
|
|
|
`nix-instantiate' turns Nix expressions into store derivations.
|
2003-12-01 15:55:05 +00:00
|
|
|
|
|
|
|
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)
|
2004-11-12 23:22:08 +00:00
|
|
|
|
|
|
|
--eval-only: evaluate and print resulting term; do not instantiate
|
|
|
|
--parse-only: parse and print abstract syntax tree
|
2005-02-01 12:36:25 +00:00
|
|
|
|
2006-07-25 21:21:50 +00:00
|
|
|
--attr / -A PATH: select an attribute from the top-level expression
|
|
|
|
|
2005-02-01 12:36:25 +00:00
|
|
|
--add-root: add garbage collector roots for the result
|
2006-08-16 21:59:53 +00:00
|
|
|
|
|
|
|
For --eval-only / --parse-only:
|
|
|
|
|
|
|
|
--xml: print an XML representation of the abstract syntax tree
|
2010-03-31 12:38:31 +00:00
|
|
|
--no-location: don't provide source location information in the
|
|
|
|
output XML tree
|
2006-08-16 21:59:53 +00:00
|
|
|
|
|
|
|
For --eval-only:
|
|
|
|
|
|
|
|
--strict: compute attributes and list elements, rather than being
|
|
|
|
lazy
|