me
/
guix
Archived
1
0
Fork 0

gnu: autogen: Use reproducible date for man pages.

* gnu/packages/autogen.scm (autogen)[arguments]: Add 'set-man-page-date phase.
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
1 changed files with 4 additions and 0 deletions

View File

@ -62,6 +62,10 @@
#: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")))