[Nix-dev] --veriy still trouble / can't run garbage collector
Marc Weber
marco-oweber at gmx.de
Tue Mar 25 00:03:53 CET 2008
> [marc at nixos:~]$ sudo nix-collect-garbage
> error: path `/nix/store/3qcjl6qv6mz2kr42z8fy2l83ghy0q225-env-manifest' is not valid
> 0 bytes (0.00 MiB) freed
The path doesn't exist and the nix-store --verify output doesn't contain
that hash. The whole /nix directory (including store) doesn't contain
it.
[marc at nixos:/nix/var/nix/db]$ sudo grep -r 3qcjl6qv6mz2kr42z8fy2l83ghy0q225 .
Binary file ./references matches
Binary file ./referrers matche
?
Having had a quick look at nix-store.cc it seems there is at least missing a
small comment about why --check-contents is hidden (not in help.txt) ?
/* Verify the consistency of the Nix environment. */
static void opVerify(Strings opFlags, Strings opArgs)
{
[...]
if (*i == "--check-contents") checkContents = true;
Sincerly Marc
More information about the nix-dev
mailing list