about summary refs log tree commit diff
path: root/doc/manual/command-ref/nix-build.xml
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2019-11-06T23·11+0100
committerEelco Dolstra <edolstra@gmail.com>2020-01-04T13·11+0100
commit195cc3f883f2694f96c627301ef13ebdfbddb5cf (patch)
tree28156a53ecaaffd58e2cbcd755c0186e67d709e9 /doc/manual/command-ref/nix-build.xml
parenta118444f36174f4d601d4adc310ae8cb9c7ae196 (diff)
doc: Document `--dry-run` option for `nix-build`
(cherry picked from commit 52ffe2797a6a943bac968e92ad443a567dfdf80e)
Diffstat (limited to 'doc/manual/command-ref/nix-build.xml')
-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 40fe7a43f10c..c1b783c87d6d 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>