gnu: sendmail: Remove timestamps.

* gnu/packages/mail.scm (sendmail)[arguments]: Add 'remove-build-timestamps
  phase.
This commit is contained in:
Vagrant Cascadian 2022-06-05 10:33:53 -07:00 committed by Vagrant Cascadian
parent 89ab76b810
commit 41cf573f0a
No known key found for this signature in database
GPG key ID: DC518FC87F9716AA

View file

@ -2888,6 +2888,14 @@ (define-public sendmail
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'remove-build-timestamps
;; Avoid embedding timestamps for reproducible build
(lambda _
(substitute*
(list
"devtools/bin/configure.sh"
"cf/sh/makeinfo.sh")
(("on `date`") ""))))
(add-before 'build 'replace-/bin/sh
(lambda _
(substitute*