From 006f24c7faf146d97742c1d7cc270ec107fa2e56 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra <eelco.dolstra@logicblox.com> Date: Wed, 12 Mar 2014 14:25:48 +0100 Subject: [PATCH] Document nix-env -q --json --- doc/manual/nix-env.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/manual/nix-env.xml b/doc/manual/nix-env.xml index 5f87093ac..92becccba 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 -- GitLab