about summary refs log tree commit diff
path: root/src/nix-instantiate/help.txt
blob: 21822132aece9da023d33f18220d10534c5951ca (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
30
31
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
  --no-location: don't provide source location information in the
    output XML tree

For --eval-only:

  --strict: compute attributes and list elements, rather than being
    lazy