diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-03-12T13·25+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-03-12T13·25+0100 |
commit | 006f24c7faf146d97742c1d7cc270ec107fa2e56 (patch) | |
tree | 4cffb234bf72dcd837f9c504bff01d0ad85c3080 /doc/manual | |
parent | d435e46daa98ffd268b6bb7221b0f3841f3a63ef (diff) |
Document nix-env -q --json
Diffstat (limited to 'doc/manual')
-rw-r--r-- | doc/manual/nix-env.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/manual/nix-env.xml b/doc/manual/nix-env.xml index 5f87093ac163..92becccba706 100644 --- a/doc/manual/nix-env.xml +++ b/doc/manual/nix-env.xml @@ -784,6 +784,7 @@ $ nix-env --set-flag priority 10 gcc</screen> <sbr /> <arg><option>--xml</option></arg> + <arg><option>--json</option></arg> <arg> <group choice='req'> <arg choice='plain'><option>--prebuilt-only</option></arg> @@ -877,6 +878,13 @@ user environment elements, etc. --> </varlistentry> + <varlistentry><term><option>--json</option></term> + + <listitem><para>Print the result in a JSON representation suitable + for automatic processing by other tools.</para></listitem> + + </varlistentry> + <varlistentry><term><option>--prebuild-only</option> / <option>-b</option></term> <listitem><para>Show only derivations for which a substitute is |