nix-bundle icon indicating copy to clipboard operation
nix-bundle copied to clipboard

fix tar archive reproducibility

Open dpc opened this issue 1 year ago • 0 comments

In our project produce binary reproducible binaries, and we would like to build, release and sign bundled versions as well.

However currently the resulting files are not reproducible. After some investigation I've narrowed it down to non-deterministic tar invocation.

This PR changes it to something I've found online, and I verified that binaries between two machines produce byte-identical bundled binary.

dpc avatar Feb 21 '24 20:02 dpc