gnu: lsof: Remove build timestamp.

* gnu/packages/lsof.scm (lsof)[arguments]: Add ‘patch-timestamps’ phase.
This commit is contained in:
Tobias Geerinckx-Rice 2018-02-19 02:05:49 +01:00
parent b7fd3e96c7
commit c2799070ca
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 4 additions and 0 deletions

View File

@ -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")))