[Nix-dev] nix-store --verify strange hashes
Eelco Dolstra
e.dolstra at tudelft.nl
Fri Dec 2 14:03:22 CET 2011
Hi,
On 12/02/2011 01:47 PM, Rickard Nilsson wrote:
> On my newly installed Sheevaplug NixOS system, I ran "nix-store --verify
> --check-contents". I then got a lot of output like this:
>
> path `/nix/store/yn52bgxj6afy99qjgf2ja57ajz5gx0j4-nixos-deploy-network'
> was modified! expected hash
> `0000000000000000000000000000000000000000000000000000000000000000', got
> `b1f8a22f80e4e6c812db42faeb68368e0d2676b63f5ab9f789796ed88088cf01'
In some cases (not exactly sure when) the hash of a path isn't known, so the
database contains a 0 for that path. "nix-store --verify" should handle that
case though.
--
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
More information about the nix-dev
mailing list