guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: complexity: Use a specific date in manpage.


From: guix-commits
Subject: branch master updated: gnu: complexity: Use a specific date in manpage.
Date: Thu, 02 Jun 2022 18:09:00 -0400

This is an automated email from the git hooks/post-receive script.

vagrantc pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new f1ec2d676d gnu: complexity: Use a specific date in manpage.
f1ec2d676d is described below

commit f1ec2d676df9822c3b74acf236f96011784a8642
Author: Vagrant Cascadian <vagrant@reproducible-builds.org>
AuthorDate: Thu Jun 2 15:00:52 2022 -0700

    gnu: complexity: Use a specific date in manpage.
    
    * gnu/packages/code.scm (complexity)[arguments]: Add 'set-man-page-date 
phase.
---
 gnu/packages/code.scm | 7 +++++++
 1 file changed, 7 insertions(+)

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/";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]