Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mikepurvis
· 1y ago · 0 comments
Nix sets everything to the epoch, although I believe Debian's approach is to just use the date of the newest file in the dsc tarballs.
Comments
[–]
lamby
1y ago
Debian's approach is actually to use the date specified in the top entry in the debian/changelog file. That's more transparent and resilient than any mtime.
[–]
yjftsjthsd-h
1y ago
Nix
can
also set it to things other than 0; I think my favorite is to set it by the time of the commit from which you're building.
[–]
terinjokes
1y ago
Which is also used when the contents of a derivation will be included in a zip file. The Unix epoch is about a decade older than the zip epoch.