nckx pushed a commit to branch master
in repository guix.

commit c2799070caf305a4c88e9a77fc36632069811f56
Author: Tobias Geerinckx-Rice <[email protected]>
Date:   Mon Feb 19 02:05:49 2018 +0100

    gnu: lsof: Remove build timestamp.
    
    * gnu/packages/lsof.scm (lsof)[arguments]: Add ‘patch-timestamps’ phase.
---
 gnu/packages/lsof.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/lsof.scm b/gnu/packages/lsof.scm
index fcd5c2e..7f365f3 100644
--- a/gnu/packages/lsof.scm
+++ b/gnu/packages/lsof.scm
@@ -71,6 +71,10 @@
             (setenv "LSOF_MAKE" "make")
             (invoke "./Configure" "linux")
             #t))
+        (add-after 'configure 'patch-timestamps
+          (lambda _
+            (substitute* "Makefile"
+              (("`date`") "`date --date=@1`"))))
         (replace 'install
           (lambda* (#:key outputs #:allow-other-keys)
             (let ((out (assoc-ref outputs "out")))

Reply via email to