Verify contents on startup

This commit is contained in:
Graham Christensen 2018-07-18 11:55:08 -04:00
parent 8cb0d9eb24
commit 04bfb7a6e4

View File

@ -49,6 +49,7 @@ ls -la /nix/var/nix/db || true
if [ -f /nix-path-registration ]; then
nix-store --load-db < /nix-path-registration
nix-store --verify --check-contents
rm /nix-path-registration
fi