[Nix-dev] nix-copy-closure error

Rickard Nilsson rickard.nilsson at telia.com
Mon Jan 2 12:19:47 CET 2012


Hi,

Den 2011-12-26 17:52:40 skrev Lluís Batlle i Rossell <viric at viric.name>:

> On Sun, Dec 25, 2011 at 10:46:04PM +0100, Rickard Nilsson wrote:
>> I have run "nix-store --verify --check-contents" on both hosts, without
>> any errors. I get the hash-error each time I try to copy the path  
>> above. I
>> can copy other paths, though.
>>
>> How can I debug this?
>
> Quite a strange situation, yes.
>
> Read the nix-copy-closure script; you can check the raw steps "--import"  
> and
> "--export" of nix-store manually, checking what happens.

I discovered that the path in question actually had been corrupted on the  
source host. Now, how can I repair it? Since it is the active Linux  
kernel, I can't remove the path. Rather, I want to force a rebuild and  
reinstallation in some way. Can that be done?

   / Rickard


More information about the nix-dev mailing list