From 6a7b24a3f25548fe2b083555cd2117dd66557ab0 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 10 May 2012 18:09:45 -0400 Subject: Document "nix-store --add" --- doc/manual/nix-store.xml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/doc/manual/nix-store.xml b/doc/manual/nix-store.xml index 13b6d1cfa1bb..cb77b3147c79 100644 --- a/doc/manual/nix-store.xml +++ b/doc/manual/nix-store.xml @@ -729,6 +729,40 @@ $ nix-store -q --roots $(which svn) + + +Operation <option>--add</option> + +Synopsis + + + nix-store + + paths + + + + +Description + +The operation adds the specified paths to +the Nix store. It prints the resulting paths in the Nix store on +standard output. + + + +Example + + +$ nix-store --add ./foo.c +/nix/store/m7lrha58ph6rcnv109yzx1nk1cj7k7zf-foo.c + + + + + + + Operation <option>--verify</option> -- cgit 1.4.1