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

View file

@ -71,6 +71,10 @@ (define-public lsof
(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")))