diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-05-10 18:09:45 -0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-05-10 18:09:45 -0400 |
commit | 6a7b24a3f25548fe2b083555cd2117dd66557ab0 (patch) | |
tree | 5b992e8d46060fb92399753aea47de90136999ad | |
parent | cda1fd8ec86553f2a76366ec56c3fa21788fc189 (diff) |
Document "nix-store --add"
-rw-r--r-- | doc/manual/nix-store.xml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/manual/nix-store.xml b/doc/manual/nix-store.xml index 13b6d1cfa..cb77b3147 100644 --- a/doc/manual/nix-store.xml +++ b/doc/manual/nix-store.xml @@ -731,6 +731,40 @@ $ nix-store -q --roots $(which svn) <!--######################################################################--> +<refsection><title>Operation <option>--add</option></title> + +<refsection><title>Synopsis</title> + +<cmdsynopsis> + <command>nix-store</command> + <arg choice='plain'><option>--add</option></arg> + <arg choice='plain' rep='repeat'><replaceable>paths</replaceable></arg> +</cmdsynopsis> + +</refsection> + +<refsection><title>Description</title> + +<para>The operation <option>--add</option> adds the specified paths to +the Nix store. It prints the resulting paths in the Nix store on +standard output.</para> + +</refsection> + +<refsection><title>Example</title> + +<screen> +$ nix-store --add ./foo.c +/nix/store/m7lrha58ph6rcnv109yzx1nk1cj7k7zf-foo.c</screen> + +</refsection> + +</refsection> + + + +<!--######################################################################--> + <refsection xml:id='refsec-nix-store-verify'><title>Operation <option>--verify</option></title> <refsection> |