From 8e3a7bd71253f02eb1a9fbb996166727b1283887 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 2 Oct 2012 15:04:59 -0400 Subject: nix-store --verify: Add an option ‘--repair’ to repair all missing/corrupt paths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also, return a non-zero exit code if errors remain after verifying/repairing. --- doc/manual/nix-store.xml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/manual/nix-store.xml b/doc/manual/nix-store.xml index 633dcd871ba7..719bfe097574 100644 --- a/doc/manual/nix-store.xml +++ b/doc/manual/nix-store.xml @@ -773,6 +773,7 @@ $ nix-store --add ./foo.c nix-store + @@ -785,7 +786,7 @@ automatically repaired. Inconsistencies are generally the result of the Nix store or database being modified by non-Nix tools, or of bugs in Nix itself. -There is one option: +This operation has the following options: @@ -800,6 +801,16 @@ in Nix itself. + + + If any valid path is missing from the store, or + (if is given) the contents of a + valid path has been modified, then try to repair the path by + redownloading it. See nix-store --repair-path + for details. + + + -- cgit 1.4.1