[Nix-dev] Big archive to be imported

Lluís Batlle viriketo at gmail.com
Sun Mar 22 13:20:57 CET 2009


2009/3/22 Eelco Dolstra <e.dolstra at tudelft.nl>:
> Hi,
>
> Lluís Batlle wrote:
>
>> I have an archive of around XX GB, made with nix-store --export, for a
>> *single* store path.
>
> Wow, that's big :-)
>
Sorry, I planned to replace the XX before sending the letter. :)
A 'du' of the store path shows 6.1GB, so I guess the nar archive must
be of a similar size. I have it in lzma-packed now, 1.6GB big.
>> When importing it (using the root account), I get from a "nix-store
>> --import": error: implementation cannot deal with > 32-bit integers.
>
> This actually means that you have a file in the archive greater than 2^32.  I
> don't think there is a limitation on the size of the archive per se.
A 'du path | sort -n' shows that there isn't any file bigger than 2^32
in the path.
>
>> Any help? The only way I can go is rebuilding the path?
>
> I'll fix it.  The code to handle large integers is already there anyway.
Thank you!



More information about the nix-dev mailing list