gnu: discrover: Use reproducible timestamps.

* gnu/packages/bioinformatics.scm (discrover)[arguments]: Add
  'set-force-source-date phase.
This commit is contained in:
Vagrant Cascadian 2022-06-05 20:28:33 -07:00
parent 8bac52e6f3
commit 964cdd57fa
No known key found for this signature in database
GPG key ID: DC518FC87F9716AA

View file

@ -3145,6 +3145,11 @@ (define-public discrover
`(#: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))