about summary refs log tree commit diff
path: root/doc/manual/command-ref/nix-install-package.xml
diff options
context:
space:
mode:
authorShell Turner <cam.turn@gmail.com>2014-09-19T12·51+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-09-23T13·11+0200
commit147fcdd13789aae39d89c763f8e13641e4cc68d1 (patch)
treedc2ec952b00d10f4184ab47c7ef47cf625e7ef5f /doc/manual/command-ref/nix-install-package.xml
parentcf72a61af2975979bbfda773cc17ef617d61cdac (diff)
Updated documentation for nix-install-package to mention --set flag
Diffstat (limited to 'doc/manual/command-ref/nix-install-package.xml')
-rw-r--r--doc/manual/command-ref/nix-install-package.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/manual/command-ref/nix-install-package.xml b/doc/manual/command-ref/nix-install-package.xml
index e0a52dbb3121..7d5cd996e44a 100644
--- a/doc/manual/command-ref/nix-install-package.xml
+++ b/doc/manual/command-ref/nix-install-package.xml
@@ -27,6 +27,7 @@
       </group>
       <replaceable>path</replaceable>
     </arg>
+    <arg><option>--set</option></arg>
     <sbr />
     <group choice='req'>
       <arg choice='req'>
@@ -91,6 +92,13 @@ to restart itself with <command>xterm</command>,
 
   </varlistentry>
 
+  <varlistentry><term><option>--set</option></term>
+
+    <listitem><para>Install the package as the profile so that the
+    profile contains exactly the contents of the package.</para></listitem>
+
+  </varlistentry>
+
 </variablelist>
 
 </refsection>