forked from lix-project/lix
Installer: Reset the timestamps in the tarball
Otherwise it isn't reproducible. Fix https://github.com/NixOS/nix/issues/7001
This commit is contained in:
parent
df5159e7d3
commit
3fca5f6c69
1 changed files with 1 additions and 0 deletions
|
@ -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," \
|
||||
|
|
Loading…
Reference in a new issue