Merge pull request #7002 from tweag/reset-timestamps-in-installer

Installer: Reset the timestamps in the tarball
This commit is contained in:
Eelco Dolstra 2022-09-06 13:19:56 +02:00 committed by GitHub
commit 7f31c08224
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -260,6 +260,7 @@
echo "file binary-dist $fn" >> $out/nix-support/hydra-build-products
tar cvfJ $fn \
--owner=0 --group=0 --mode=u+rw,uga+r \
--mtime='1970-01-01' \
--absolute-names \
--hard-dereference \
--transform "s,$TMPDIR/install,$dir/install," \