Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/third-party/py/pex/pex/common.py b/third-party/py/pex/pex/common.py 2index 76459ce23..eff411b20 100644 3--- a/third-party/py/pex/pex/common.py 4+++ b/third-party/py/pex/pex/common.py 5@@ -328,4 +328,7 @@ class Chroot(object): 6 def zip(self, filename, mode='wb'): 7 with contextlib.closing(zipfile.ZipFile(filename, mode)) as zf: 8 for f in sorted(self.files()): 9- zf.write(os.path.join(self.chroot, f), arcname=f, compress_type=zipfile.ZIP_DEFLATED) 10+ path = os.path.join(self.chroot, f) 11+ instant = 615532801 12+ os.utime(path, (instant, instant)) 13+ zf.write(path, arcname=f, compress_type=zipfile.ZIP_DEFLATED)