From e6cb3d0a0dcfe13e9b493afdc4e2107668ec99ff Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 6 Sep 2011 12:06:30 +0000 Subject: * Added a command ‘nix-store --verify-paths PATHS’ to check whether the contents of any of the given store paths have been modified. E.g. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit $ nix-store --verify-path $(nix-store -qR /var/run/current-system) path `/nix/store/m2smyiwbxidlprfxfz4rjlvz2c3mg58y-etc' was modified! expected hash `fc87e271c5fdf179b47939b08ad13440493805584b35e3014109d04d8436e7b8', got `20f1a47281b3c0cbe299ce47ad5ca7340b20ab34246426915fce0ee9116483aa' All paths are checked; the exit code is 1 if any path has been modified, 0 otherwise. --- doc/manual/release-notes.xml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/manual/release-notes.xml b/doc/manual/release-notes.xml index 7d0bfe7fdc60..3712a8b915ac 100644 --- a/doc/manual/release-notes.xml +++ b/doc/manual/release-notes.xml @@ -40,6 +40,10 @@ TODO: Nix expression search path (import <foo/bar.nix>). + + TODO: nix-store --verify-path command. + + -- cgit 1.4.1