summary refs log tree commit diff
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@debian.org>2022-06-05 20:28:33 -0700
committerVagrant Cascadian <vagrant@debian.org>2022-06-06 15:08:18 -0700
commit964cdd57fa037fec4917ac76725b0a65d47483bc (patch)
treeb9db4d147fd1533af8afabc9b100dc1de07072db
parent8bac52e6f31c732ddec8747378c2fad643a9e964 (diff)
downloadguix-964cdd57fa037fec4917ac76725b0a65d47483bc.tar.gz
gnu: discrover: Use reproducible timestamps.
* gnu/packages/bioinformatics.scm (discrover)[arguments]: Add
  'set-force-source-date phase.
-rw-r--r--gnu/packages/bioinformatics.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 931eea7022..c53a2920ac 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -3145,6 +3145,11 @@ data and settings.")
      `(#:tests? #f                      ; there are no tests
        #:phases
        (modify-phases %standard-phases
+         (add-before 'build 'set-force-source-date
+           ;; for reproducible dates, texlive needs this to respect respect
+           ;; SOURCE_DATE_EPOCH
+           (lambda _
+             (setenv "FORCE_SOURCE_DATE" "1")))
          (add-after 'unpack 'fix-latex-errors
            (lambda _
              (with-fluids ((%default-port-encoding #f))