aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2019-11-07 00:11:57 +0100
committerMaximilian Bosch <maximilian@mbosch.me>2019-11-07 00:11:57 +0100
commit52ffe2797a6a943bac968e92ad443a567dfdf80e (patch)
treea4120482c5c498c0ca95f13589534126de6d0bc1 /doc
parentab4dd1d78306c58cb9ee1fa5009ef18b67e26314 (diff)
doc: Document `--dry-run` option for `nix-build`
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/command-ref/nix-build.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/manual/command-ref/nix-build.xml b/doc/manual/command-ref/nix-build.xml
index 40fe7a43f..c1b783c87 100644
--- a/doc/manual/command-ref/nix-build.xml
+++ b/doc/manual/command-ref/nix-build.xml
@@ -30,6 +30,7 @@
<replaceable>attrPath</replaceable>
</arg>
<arg><option>--no-out-link</option></arg>
+ <arg><option>--dry-run</option></arg>
<arg>
<group choice='req'>
<arg choice='plain'><option>--out-link</option></arg>
@@ -98,6 +99,10 @@ also <xref linkend="sec-common-options" />.</phrase></para>
</varlistentry>
+ <varlistentry><term><option>--dry-run</option></term>
+ <listitem><para>Show what store paths would be built or downloaded</para></listitem>
+ </varlistentry>
+
<varlistentry xml:id='opt-out-link'><term><option>--out-link</option> /
<option>-o</option> <replaceable>outlink</replaceable></term>