[Nix-dev] nix-copy-closure error

Rickard Nilsson rickard.nilsson at telia.com
Sun Jan 1 17:37:45 CET 2012


Hi,

Yes, I got your reply. I will try to debug it further.

Thanks,
Rickard

"Lluís Batlle i Rossell" <viric at viric.name> wrote:

Did you get my reply to your 2nd copy of the message of the 25th of December?
:)

On Fri, Dec 30, 2011 at 04:47:46PM +0100, Rickard Nilsson wrote:
> Hi,
> 
> I'm trying to copy a path from on NixOS host to another. The source host
> is x86_64-linux and the target is armv5tel-linux. I get the following,
> rather strange, error message:
> 
> [root at target:~]# NIX_SSHOPTS="-i /etc/secrets/nix-remote-daemon.id_dsa"
> nix-copy-closure --sign --from nixremote at source
> /nix/store/yniljr7fnd4z5bf2qvcx94q350cqvmvx-linux-3.1.4
> copying 1 missing paths from ‘nixremote at source’...
> error: hash of path
> `/nix/store/yniljr7fnd4z5bf2qvcx94q350cqvmvx-linux-3.1.4' has changed from
> `a52ee92f0494c45a72facc1bb02c99c1087c91b386a8c82c5fcedcbbf46b6e74' to
> `c81a3fe4cb0a0c5a0eb56c4a0a5b07bfbdba1cccc44a46bc45223579be31b710'!
> error: unexpected end-of-file
> copying store paths from remote machine `nixremote at source' failed: 256 at
> /var/run/current-system/sw/bin/nix-copy-closure line 107.
> 
> 
> [nixremote at source:~]$ nix-hash --type sha256
> /nix/store/yniljr7fnd4z5bf2qvcx94q350cqvmvx-linux-3.1.4
> c81a3fe4cb0a0c5a0eb56c4a0a5b07bfbdba1cccc44a46bc45223579be31b710
> 
> 
> 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?
> 
> 
> / Rickard
>_____________________________________________

> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120101/031d0eb3/attachment.html 


More information about the nix-dev mailing list