gnu: autogen: Use reproducible date for man pages.

* gnu/packages/autogen.scm (autogen)[arguments]: Add 'set-man-page-date phase.
This commit is contained in:
Vagrant Cascadian 2022-06-05 09:14:23 -07:00 committed by Vagrant Cascadian
parent 14783af536
commit 89ab76b810
No known key found for this signature in database
GPG key ID: DC518FC87F9716AA

View file

@ -62,6 +62,10 @@ (define-public autogen
#:phases
(modify-phases %standard-phases
(add-before 'build 'set-man-page-date
;; Avoid embedding the current date for reproducible builds
(lambda _
(setenv "MAN_PAGE_DATE" "2012-04-18")))
(add-before 'patch-source-shebangs 'patch-test-scripts
(lambda _
(let ((sh (which "sh")))