about summary refs log tree commit diff
path: root/src/nix-instantiate/help.txt
blob: fa0a4590ee92bd348e8f32e45e4eb49bec91797a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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