Subject: Re: bug#50015: Rust packages are not reproducible

From: Ludovic Courtès <[email-masked]>
Date: Thu, 12 Aug 2021 10:06:56 +0200

Hello!

Efraim Flashner <[email-masked]> skribis:

> I tried patching this a couple of ways, but it looks like the best
> option is going to be a 'patch-and-repack phase after 'install. the
> .crate file is really a gzip tarball, and I suspect that each time we
> run 'cargo <something>' the timestamp gets updated.

So that ‘Cargo.toml’ file is not something taken from the build tree?
In that case we could reset the timestamp before the tarball is
created.  But otherwise yeah, patch’n’repack.

Ludo’.