summary refs log tree commit diff
path: root/gnu/packages/javascript.scm
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@reproducible-builds.org>2022-06-05 11:03:22 -0700
committerVagrant Cascadian <vagrant@debian.org>2022-06-05 17:10:10 -0700
commit14783af536a110ef5018518d2af920355b7391f9 (patch)
treec046b67a4273f99071d8a121bef69651a6e1eea4 /gnu/packages/javascript.scm
parent7f85e7ce4900a6c948458ecd6022db00bc6428e2 (diff)
downloadguix-14783af536a110ef5018518d2af920355b7391f9.tar.gz
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.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index 8ab8c46cd3..028b5c4391 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -837,6 +837,12 @@ and vice versa.")
        `(#:phases
          (modify-phases
              %standard-phases
+           (add-after 'unpack 'remove-build-dates
+             ;; Avoid embedding build date for reproducible builds
+             (lambda _
+               (substitute*
+                   "build.properties"
+                 (("..implementation.date.") ""))))
            (replace 'check
              (lambda* (#:key tests? inputs native-inputs
                        #:allow-other-keys)