mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
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:
parent
14783af536
commit
89ab76b810
1 changed files with 4 additions and 0 deletions
|
@ -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")))
|
||||
|
|
Loading…
Reference in a new issue