[Nix-dev] Re: Accidental store paths collisions

Ludovic Courtès ludo at gnu.org
Wed Sep 30 15:32:43 CEST 2009


Hi,

Peter Simons <simons at cryp.to> writes:

>  > I think the probability of an accidental collision between any two
>  > store paths (regardless of the ‘stdenv.system’ value) is that of an
>  > accidental collision between any two SHA256 hashes of two different
>  > inputs.

[...]

> The question is: do the inputs differ when the same expression is built
> on two different systems, i.e. MacOS X and Linux?

Yes, at least one input differs, namely ‘stdenv.system’.

Thanks,
Ludo’.




More information about the nix-dev mailing list