Hi bazel users,
I'm using the pkg_tar rule to produce a .tar.gz file.
The timestamps on the files in the tarball end up being Dec 31 1969.
Is there any way to prevent bazel from setting the timestamps to Dec 31 1969?
The timestamps are too old for the tools I'm trying to work with. Specifically, the unpacked tarball is a python package. If you run
python setup.py install
I get an error because zip can't handle timestamps before 1980.
I guess one solution would be to write my own genrule to create the tarball.
Suggestions?
Thanks
J