diff options
Diffstat (limited to 'doc/manual/nix-instantiate.xml')
-rw-r--r-- | doc/manual/nix-instantiate.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/manual/nix-instantiate.xml b/doc/manual/nix-instantiate.xml index 69630cb55..dc72ab83b 100644 --- a/doc/manual/nix-instantiate.xml +++ b/doc/manual/nix-instantiate.xml @@ -8,6 +8,10 @@ <cmdsynopsis> <command>nix-instantiate</command> &opt-common-syn; + <group choice='opt'> + <arg choice='plain'><option>--parse-only</option></arg> + <arg choice='plain'><option>--eval-only</option></arg> + </group> <arg choice='plain' rep='repeat'><replaceable>files</replaceable></arg> </cmdsynopsis> </refsynopsisdiv> @@ -39,6 +43,27 @@ &opt-common; + <varlistentry> + <term><option>--parse-only</option></term> + <listitem> + <para> + Just parse the input files, and print their abstract + syntax trees on standard output in ATerm format. + </para> + </listitem> + </varlistentry> + + <varlistentry> + <term><option>--eval-only</option></term> + <listitem> + <para> + Just parse and evaluate the input files, and print the + resulting values on standard output. No instantiation of + store expressions takes place. + </para> + </listitem> + </varlistentry> + </variablelist> </refsection> |