Document nix-env -q --json
This commit is contained in:
parent
d435e46daa
commit
006f24c7fa
1 changed files with 8 additions and 0 deletions
|
@ -784,6 +784,7 @@ $ nix-env --set-flag priority 10 gcc</screen>
|
||||||
<sbr />
|
<sbr />
|
||||||
|
|
||||||
<arg><option>--xml</option></arg>
|
<arg><option>--xml</option></arg>
|
||||||
|
<arg><option>--json</option></arg>
|
||||||
<arg>
|
<arg>
|
||||||
<group choice='req'>
|
<group choice='req'>
|
||||||
<arg choice='plain'><option>--prebuilt-only</option></arg>
|
<arg choice='plain'><option>--prebuilt-only</option></arg>
|
||||||
|
@ -877,6 +878,13 @@ user environment elements, etc. -->
|
||||||
|
|
||||||
</varlistentry>
|
</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>
|
<varlistentry><term><option>--prebuild-only</option> / <option>-b</option></term>
|
||||||
|
|
||||||
<listitem><para>Show only derivations for which a substitute is
|
<listitem><para>Show only derivations for which a substitute is
|
||||||
|
|
Loading…
Reference in a new issue