summary refs log tree commit diff
path: root/gnu/packages/mail.scm
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@reproducible-builds.org>2022-06-05 10:33:53 -0700
committerVagrant Cascadian <vagrant@debian.org>2022-06-05 17:31:35 -0700
commit41cf573f0a4fefb0539174b46cfe65e9db128870 (patch)
tree0e24158c365f5b70ccf256d21b3314a78ba4623a /gnu/packages/mail.scm
parent89ab76b8109d494d204f81b6d934ea19c8bb7004 (diff)
downloadguix-41cf573f0a4fefb0539174b46cfe65e9db128870.tar.gz
gnu: sendmail: Remove timestamps.
* gnu/packages/mail.scm (sendmail)[arguments]: Add 'remove-build-timestamps
  phase.
Diffstat (limited to 'gnu/packages/mail.scm')
-rw-r--r--gnu/packages/mail.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index d4f483e45e..7116b2bb34 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -2888,6 +2888,14 @@ powerful user customization features.")
     (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*