summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@reproducible-builds.org>2022-06-02 15:00:52 -0700
committerVagrant Cascadian <vagrant@debian.org>2022-06-02 15:06:42 -0700
commitf1ec2d676df9822c3b74acf236f96011784a8642 (patch)
tree4ac97b08b1c95d8cbfa7736955920203be553b68
parent76668c4b1356fd0c9be4ae4297cc7ad2141c2060 (diff)
gnu: complexity: Use a specific date in manpage.
* gnu/packages/code.scm (complexity)[arguments]: Add 'set-man-page-date phase.
-rw-r--r--gnu/packages/code.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index 437c735c79..1093bff028 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -120,6 +120,13 @@ a major mode for Emacs for examining the flowcharts that it produces.")
(base32
"0lr0l9kj2w3jilz9h9y4np9pf9i9ccpy6331lanki2fnz4z8ldvd"))))
(build-system gnu-build-system)
+ (arguments
+ (list #: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"))))))
(native-inputs
(list texinfo autogen))
(home-page "https://www.gnu.org/software/complexity/")