diff options
| author | Vagrant Cascadian <vagrant@reproducible-builds.org> | 2022-06-05 11:03:22 -0700 |
|---|---|---|
| committer | Vagrant Cascadian <vagrant@debian.org> | 2022-06-05 17:10:10 -0700 |
| commit | 14783af536a110ef5018518d2af920355b7391f9 (patch) | |
| tree | c046b67a4273f99071d8a121bef69651a6e1eea4 /gnu/packages/javascript.scm | |
| parent | 7f85e7ce4900a6c948458ecd6022db00bc6428e2 (diff) | |
gnu: rhino: Remove build timestamps.
* gnu/packages/javascript.scm (rhino)[arguments]: Add 'remove-build-dates
phase.
Diffstat (limited to 'gnu/packages/javascript.scm')
| -rw-r--r-- | gnu/packages/javascript.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm index 8ab8c46cd3d..028b5c43916 100644 --- a/gnu/packages/javascript.scm +++ b/gnu/packages/javascript.scm | |||
| @@ -837,6 +837,12 @@ and vice versa.") | |||
| 837 | `(#:phases | 837 | `(#:phases |
| 838 | (modify-phases | 838 | (modify-phases |
| 839 | %standard-phases | 839 | %standard-phases |
| 840 | (add-after 'unpack 'remove-build-dates | ||
| 841 | ;; Avoid embedding build date for reproducible builds | ||
| 842 | (lambda _ | ||
| 843 | (substitute* | ||
| 844 | "build.properties" | ||
| 845 | (("..implementation.date.") "")))) | ||
| 840 | (replace 'check | 846 | (replace 'check |
| 841 | (lambda* (#:key tests? inputs native-inputs | 847 | (lambda* (#:key tests? inputs native-inputs |
| 842 | #:allow-other-keys) | 848 | #:allow-other-keys) |
