gnu: rhino: Remove build timestamps.

* gnu/packages/javascript.scm (rhino)[arguments]: Add 'remove-build-dates
  phase.
This commit is contained in:
Vagrant Cascadian 2022-06-05 11:03:22 -07:00 committed by Vagrant Cascadian
parent 7f85e7ce49
commit 14783af536
No known key found for this signature in database
GPG key ID: DC518FC87F9716AA

View file

@ -837,6 +837,12 @@ and vice versa.")
`(#:phases `(#:phases
(modify-phases (modify-phases
%standard-phases %standard-phases
(add-after 'unpack 'remove-build-dates
;; Avoid embedding build date for reproducible builds
(lambda _
(substitute*
"build.properties"
(("..implementation.date.") ""))))
(replace 'check (replace 'check
(lambda* (#:key tests? inputs native-inputs (lambda* (#:key tests? inputs native-inputs
#:allow-other-keys) #:allow-other-keys)